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.
47 lines
1.1 KiB
JSON
47 lines
1.1 KiB
JSON
{
|
|
"id": "a1-098-magneton",
|
|
"name": "Magneton",
|
|
"set_code": "a1",
|
|
"set_name": "Genetic Apex",
|
|
"card_number": 98,
|
|
"rarity": "Rare",
|
|
"card_type": "pokemon",
|
|
"image_url": "https://assets.pokemon-zone.com/game-assets/CardPreviews/cPK_10_000980_00_RARECOIL_R.webp",
|
|
"image_file": "a1/098-magneton.webp",
|
|
"source_url": "https://www.pokemon-zone.com/cards/a1/98/magneton/",
|
|
"hp": 80,
|
|
"pokemon_type": "lightning",
|
|
"stage": "stage_1",
|
|
"evolves_from": "Magnemite",
|
|
"is_ex": false,
|
|
"abilities": [
|
|
{
|
|
"name": "Volt Charge",
|
|
"effect_text": "Once during your turn, you may take an Energy from your Energy Zone and attach it to this Pok\u00e9mon.",
|
|
"effect_id": null
|
|
}
|
|
],
|
|
"attacks": [
|
|
{
|
|
"name": "Spinning Attack",
|
|
"cost": [
|
|
"lightning",
|
|
"colorless",
|
|
"colorless",
|
|
"colorless"
|
|
],
|
|
"damage": 60,
|
|
"damage_modifier": null,
|
|
"effect_text": null,
|
|
"effect_id": null
|
|
}
|
|
],
|
|
"weakness": {
|
|
"type": "fighting",
|
|
"value": 20
|
|
},
|
|
"resistance": null,
|
|
"retreat_cost": 2,
|
|
"flavor_text": null,
|
|
"illustrator": "kirisAki"
|
|
} |