- 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
34 lines
768 B
JSON
34 lines
768 B
JSON
{
|
|
"id": "a1-035-charizard",
|
|
"name": "Charizard",
|
|
"card_type": "pokemon",
|
|
"hp": 150,
|
|
"pokemon_type": "fire",
|
|
"stage": "stage_2",
|
|
"variant": "normal",
|
|
"retreat_cost": 2,
|
|
"set_id": "a1",
|
|
"rarity": "rare",
|
|
"evolves_from": "Charmeleon",
|
|
"attacks": [
|
|
{
|
|
"name": "Fire Spin",
|
|
"cost": [
|
|
"fire",
|
|
"fire",
|
|
"colorless",
|
|
"colorless"
|
|
],
|
|
"damage": 150,
|
|
"damage_display": "150",
|
|
"effect_description": "Discard 2 Fire Energy from this Pokémon."
|
|
}
|
|
],
|
|
"weakness": {
|
|
"energy_type": "water",
|
|
"value": 20
|
|
},
|
|
"illustrator": "takuyoa",
|
|
"image_path": "a1/035-charizard.webp",
|
|
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1/035-charizard.webp"
|
|
} |