- Derive image_path from card ID instead of raw data image_file field - Use simplified CDN paths: /<set>/<card>.webp (e.g., a1/033-charmander.webp) - Energy cards use basic/<type>.webp paths - Fix undefined variable bug in transform_trainer_card - Update tests to match new path format - Regenerate all 382 card definitions with correct image_url fields
12 lines
466 B
JSON
12 lines
466 B
JSON
{
|
|
"id": "a1a-082-leaf",
|
|
"name": "Leaf",
|
|
"card_type": "trainer",
|
|
"trainer_type": "supporter",
|
|
"set_id": "a1a",
|
|
"rarity": "special art rare",
|
|
"effect_description": "During this turn, the Retreat Cost of your Active Pokémon is 2 less. You may play only 1 Supporter card during your turn.",
|
|
"illustrator": "En Morikura",
|
|
"image_path": "a1a/082-leaf.webp",
|
|
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1a/082-leaf.webp"
|
|
} |