fxhm
This commit is contained in:
parent
7c0f9f0e53
commit
3f1467adff
@ -637,7 +637,7 @@ body {
|
|||||||
.cs-cd {
|
.cs-cd {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: calc(var(--s) * 7);
|
bottom: calc(var(--s) * 7);
|
||||||
right: calc(var(--s) * 7);
|
right: calc(var(--s) * 2);
|
||||||
width: calc(var(--s) * 18);
|
width: calc(var(--s) * 18);
|
||||||
height: calc(var(--s) * 18);
|
height: calc(var(--s) * 18);
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|||||||
@ -265,6 +265,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
const cards = await cardsRes.json();
|
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
|
// Erste 3 Karten aufgedeckt anzeigen
|
||||||
handCardIds.forEach((id, i) => {
|
handCardIds.forEach((id, i) => {
|
||||||
const card = cards[i];
|
const card = cards[i];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user