- 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
33 lines
779 B
JSON
33 lines
779 B
JSON
{
|
|
"id": "a1-203-kangaskhan",
|
|
"name": "Kangaskhan",
|
|
"card_type": "pokemon",
|
|
"hp": 100,
|
|
"pokemon_type": "colorless",
|
|
"stage": "basic",
|
|
"variant": "normal",
|
|
"retreat_cost": 3,
|
|
"set_id": "a1",
|
|
"rarity": "rare",
|
|
"attacks": [
|
|
{
|
|
"name": "Dizzy Punch",
|
|
"cost": [
|
|
"colorless"
|
|
],
|
|
"damage": 30,
|
|
"damage_display": "30+",
|
|
"effect_description": "Flip 2 coins. This attack does 30 damage for each heads.",
|
|
"effect_params": {
|
|
"damage_modifier": "+"
|
|
}
|
|
}
|
|
],
|
|
"weakness": {
|
|
"energy_type": "fighting",
|
|
"value": 20
|
|
},
|
|
"illustrator": "Ken Sugimori",
|
|
"image_path": "a1/203-kangaskhan.webp",
|
|
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1/203-kangaskhan.webp"
|
|
} |