- 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
32 lines
690 B
JSON
32 lines
690 B
JSON
{
|
|
"id": "a1-215-dubwool",
|
|
"name": "Dubwool",
|
|
"card_type": "pokemon",
|
|
"hp": 120,
|
|
"pokemon_type": "colorless",
|
|
"stage": "stage_1",
|
|
"variant": "normal",
|
|
"retreat_cost": 2,
|
|
"set_id": "a1",
|
|
"rarity": "common",
|
|
"evolves_from": "Wooloo",
|
|
"attacks": [
|
|
{
|
|
"name": "Rolling Tackle",
|
|
"cost": [
|
|
"colorless",
|
|
"colorless",
|
|
"colorless"
|
|
],
|
|
"damage": 80,
|
|
"damage_display": "80"
|
|
}
|
|
],
|
|
"weakness": {
|
|
"energy_type": "fighting",
|
|
"value": 20
|
|
},
|
|
"illustrator": "saino misaki",
|
|
"image_path": "a1/215-dubwool.webp",
|
|
"image_url": "https://mantipocket.s3.us-east-1.amazonaws.com/card-images/a1/215-dubwool.webp"
|
|
} |