Scraper fixes: - Detect fossil cards (Helix/Dome Fossil, Old Amber) as Trainer/Item cards - Add text artifact cleaning for stripped energy icons: - 'aEnergy' -> 'an Energy' - 'extraEnergy' -> 'extra Energy' - 'BenchedPokémon' -> 'Benched Pokémon' - And 20+ other common patterns Converter improvements: - Add evolution chain validation to detect broken evolves_from references - Track conversion errors and validation warnings in _index.json - Return errors from convert_set() for better debugging Data fixes: - Fixed 4 fossil cards (now correctly typed as trainer/item) - Fixed text artifacts in 46 raw card files - Regenerated all 382 card definitions - All evolution chains now valid Added fix_raw_text.py utility script for batch text cleanup.
33 lines
771 B
JSON
33 lines
771 B
JSON
{
|
|
"id": "a1-079-lapras",
|
|
"name": "Lapras",
|
|
"card_type": "pokemon",
|
|
"hp": 100,
|
|
"pokemon_type": "water",
|
|
"stage": "basic",
|
|
"variant": "normal",
|
|
"retreat_cost": 2,
|
|
"set_id": "a1",
|
|
"rarity": "rare",
|
|
"attacks": [
|
|
{
|
|
"name": "Hydro Pump",
|
|
"cost": [
|
|
"water"
|
|
],
|
|
"damage": 20,
|
|
"damage_display": "20x",
|
|
"effect_description": "If this Pok\u00e9mon has at least 3 extra Energy attached, this attack does 70 more damage.",
|
|
"effect_params": {
|
|
"damage_modifier": "x"
|
|
}
|
|
}
|
|
],
|
|
"weakness": {
|
|
"energy_type": "lightning",
|
|
"value": 20
|
|
},
|
|
"illustrator": "Sekio",
|
|
"image_path": "pokemon/a1/079-lapras.webp",
|
|
"image_url": "https://cdn.mantimon.com/cards/pokemon/a1/079-lapras.webp"
|
|
} |