- 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
29 lines
698 B
JSON
29 lines
698 B
JSON
{
|
||
"id": "a1-037-vulpix",
|
||
"name": "Vulpix",
|
||
"card_type": "pokemon",
|
||
"hp": 50,
|
||
"pokemon_type": "fire",
|
||
"stage": "basic",
|
||
"variant": "normal",
|
||
"retreat_cost": 1,
|
||
"set_id": "a1",
|
||
"rarity": "common",
|
||
"attacks": [
|
||
{
|
||
"name": "Tail Whip",
|
||
"cost": [
|
||
"colorless"
|
||
],
|
||
"damage": 0,
|
||
"effect_description": "Flip a coin. If heads, the Defending Pokémon can’t attack during your opponent’s next turn."
|
||
}
|
||
],
|
||
"weakness": {
|
||
"energy_type": "water",
|
||
"value": 20
|
||
},
|
||
"illustrator": "Toshinao Aoki",
|
||
"image_path": "a1/037-vulpix.webp",
|
||
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1/037-vulpix.webp"
|
||
} |