- 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
473 B
JSON
12 lines
473 B
JSON
{
|
|
"id": "a1-271-brock",
|
|
"name": "Brock",
|
|
"card_type": "trainer",
|
|
"trainer_type": "supporter",
|
|
"set_id": "a1",
|
|
"rarity": "special art rare",
|
|
"effect_description": "Take a Fighting Energy from your Energy Zone and attach it to Golem or Onix . You may play only 1 Supporter card during your turn.",
|
|
"illustrator": "Ryuta Fuse",
|
|
"image_path": "a1/271-brock.webp",
|
|
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1/271-brock.webp"
|
|
} |