Spaces:
Sleeping
Sleeping
File size: 399 Bytes
463f868 | 1 2 3 4 5 6 7 8 9 10 11 12 | import json
with open("data/cards.json", encoding="utf-8") as f:
cards = json.load(f)
problem_cards = ["PL!HS-bp2-001-R", "PL!S-bp3-008-R", "PL!-bp3-026-L", "PL!S-bp3-024-L", "PL!-pb1-002-R"]
for card_id in problem_cards:
card = cards.get(card_id, {})
print(f"=== {card_id}: {card.get('name', 'Unknown')} ===")
print(card.get("ability", "No ability")[:300])
print()
|