- 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
508 B
JSON
12 lines
508 B
JSON
{
|
||
"id": "a1a-067-blue",
|
||
"name": "Blue",
|
||
"card_type": "trainer",
|
||
"trainer_type": "supporter",
|
||
"set_id": "a1a",
|
||
"rarity": "uncommon",
|
||
"effect_description": "During your opponent’s next turn, all of your Pokémon take −10 damage from attacks from your opponent’s Pokémon. You may play only 1 Supporter card during your turn.",
|
||
"illustrator": "Ryuta Fuse",
|
||
"image_path": "a1a/067-blue.webp",
|
||
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1a/067-blue.webp"
|
||
} |