- 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
816 B
JSON
34 lines
816 B
JSON
{
|
||
"id": "a1a-045-golem",
|
||
"name": "Golem",
|
||
"card_type": "pokemon",
|
||
"hp": 160,
|
||
"pokemon_type": "fighting",
|
||
"stage": "stage_2",
|
||
"variant": "normal",
|
||
"retreat_cost": 3,
|
||
"set_id": "a1a",
|
||
"rarity": "rare",
|
||
"evolves_from": "Graveler",
|
||
"attacks": [
|
||
{
|
||
"name": "Guard Press",
|
||
"cost": [
|
||
"fighting",
|
||
"fighting",
|
||
"fighting",
|
||
"colorless"
|
||
],
|
||
"damage": 120,
|
||
"damage_display": "120",
|
||
"effect_description": "During your opponent’s next turn, this Pokémon takes −30 damage from attacks."
|
||
}
|
||
],
|
||
"weakness": {
|
||
"energy_type": "grass",
|
||
"value": 20
|
||
},
|
||
"illustrator": "Masakazu Fukuda",
|
||
"image_path": "a1a/045-golem.webp",
|
||
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1a/045-golem.webp"
|
||
} |