- 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
782 B
JSON
29 lines
782 B
JSON
{
|
||
"id": "a1-205-ditto",
|
||
"name": "Ditto",
|
||
"card_type": "pokemon",
|
||
"hp": 70,
|
||
"pokemon_type": "colorless",
|
||
"stage": "basic",
|
||
"variant": "normal",
|
||
"retreat_cost": 1,
|
||
"set_id": "a1",
|
||
"rarity": "rare",
|
||
"attacks": [
|
||
{
|
||
"name": "Copy Anything",
|
||
"cost": [
|
||
"colorless"
|
||
],
|
||
"damage": 0,
|
||
"effect_description": "Choose 1 of your opponent’s Pokémon’s attacks and use it as this attack. If this Pokémon doesn’t have the necessary Energy to use that attack, this attack does nothing."
|
||
}
|
||
],
|
||
"weakness": {
|
||
"energy_type": "fighting",
|
||
"value": 20
|
||
},
|
||
"illustrator": "Miki Tanaka",
|
||
"image_path": "a1/205-ditto.webp",
|
||
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1/205-ditto.webp"
|
||
} |