This commit is contained in:
cay 2026-04-10 07:24:54 +01:00
parent 7c0f9f0e53
commit 3f1467adff
2 changed files with 5 additions and 1 deletions

View File

@ -637,7 +637,7 @@ body {
.cs-cd {
position: absolute;
bottom: calc(var(--s) * 7);
right: calc(var(--s) * 7);
right: calc(var(--s) * 2);
width: calc(var(--s) * 18);
height: calc(var(--s) * 18);
border-radius: 50%;

View File

@ -265,6 +265,10 @@
}
const cards = await cardsRes.json();
// DEBUG: alle Karten-Felder anzeigen
console.log("[Battlefield] Karten aus API:", cards.slice(0,3).map(c => ({
name: c.name, attack: c.attack, defends: c.defends, cooldown: c.cooldown
})));
// Erste 3 Karten aufgedeckt anzeigen
handCardIds.forEach((id, i) => {
const card = cards[i];