mantimon-tcg/backend/data/raw/a1/234-lapras.json
Cal Corum c6e3695760 Fix card data pipeline: fossil cards and text artifacts
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.
2026-01-27 14:37:03 -06:00

38 lines
957 B
JSON

{
"id": "a1-234-lapras",
"name": "Lapras",
"set_code": "a1",
"set_name": "Genetic Apex",
"card_number": 234,
"rarity": "Art Rare",
"card_type": "pokemon",
"image_url": "https://assets.pokemon-zone.com/game-assets/CardPreviews/cPK_20_000790_00_LAPLACE_AR.webp",
"image_file": "a1/234-lapras.webp",
"source_url": "https://www.pokemon-zone.com/cards/a1/234/lapras/",
"hp": 100,
"pokemon_type": "water",
"stage": "basic",
"evolves_from": null,
"is_ex": false,
"abilities": [],
"attacks": [
{
"name": "Hydro Pump",
"cost": [
"water"
],
"damage": 20,
"damage_modifier": "x",
"effect_text": "If this Pok\u00e9mon has at least 3 extra Energy attached, this attack does 70 more damage.",
"effect_id": null
}
],
"weakness": {
"type": "lightning",
"value": 20
},
"resistance": null,
"retreat_cost": 2,
"flavor_text": null,
"illustrator": "Haru Akasaka"
}