diff --git a/add_octgnid.py b/add_octgnid.py index 38753c18..a77bc964 100644 --- a/add_octgnid.py +++ b/add_octgnid.py @@ -1,8 +1,8 @@ import json import uuid -runFile = 'aoa_encounter.json' -pack_code = 'aoa' +runFile = 'iceman.json' +pack_code = 'iceman' with open('./packs.json') as json_file: pack_data = json.load(json_file) diff --git a/pack/iceman.json b/pack/iceman.json new file mode 100644 index 00000000..cac38bef --- /dev/null +++ b/pack/iceman.json @@ -0,0 +1,424 @@ +[ + { + "attack": 2, + "back_link": "46001b", + "code": "46001a", + "defense": 2, + "faction_code": "hero", + "flavor": "\"Here comes the coolest hero on the team!\"", + "hand_size": 5, + "health": 11, + "illustrator": "Andrea Di Vito & Laura Villari", + "is_unique": true, + "meta": { + "colors": [ + "#a8dbf1", + "#8bd3dd", + "#eef1f3", + "#fffffd" + ] + }, + "name": "Iceman", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046001", + "pack_code": "iceman", + "position": 1, + "quantity": 1, + "set_code": "iceman", + "text": "\"Freeze!\" \u2014 Interrupt: When Iceman makes a basic attack or defense against an enemy, attach a set-aside copy of Frostbite to that enemy.", + "thwart": 1, + "traits": "Ice. X-Men.", + "type_code": "hero" + }, + { + "code": "46001b", + "faction_code": "hero", + "hand_size": 6, + "health": 11, + "hidden": true, + "illustrator": "Andrea Di Vito & Laura Villari", + "is_unique": true, + "name": "Bobby Drake", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046001", + "pack_code": "iceman", + "position": 1, + "quantity": 1, + "recover": 4, + "set_code": "iceman", + "text": "Bobby Drake begins the game with 6 Frostbite upgrades set aside.\nCool Off \u2014 Response: After you change to this form, shuffle 1 [[Ice]] card from your discard pile into your deck for each copy of Frostbite in play.", + "traits": "Mutant.", + "type_code": "alter_ego" + }, + { + "code": "46002", + "deck_limit": 6, + "faction_code": "hero", + "name": "Frostbite", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046002", + "pack_code": "iceman", + "permanent": true, + "position": 2, + "quantity": 6, + "set_code": "frostbite", + "set_position": 1, + "text": "Permanent.\nAttached enemy gets -1 SCH and -1 ATK.\nForced Response: After attached enemy activates or leaves play, set this card aside.", + "traits": "Condition. Ice.", + "type_code": "upgrade" + }, + { + "attack": 2, + "attack_cost": 1, + "attack_star": true, + "code": "46003", + "cost": 2, + "deck_limit": 2, + "faction_code": "hero", + "flavor": "\"You could say he's got an icy demeanor.\" \u2014 Iceman", + "health": 2, + "name": "Snow Clone", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046003", + "pack_code": "iceman", + "position": 3, + "quantity": 2, + "resource_physical": 1, + "set_code": "iceman", + "set_position": 1, + "text": "Cannot have upgrades attached.\n[star] Snow Clone takes -1 consequential damage ([cost]) after it attacks an enemy with Frostbite attached.", + "thwart": null, + "traits": "Ice. X-Men.", + "type_code": "ally" + }, + { + "code": "46004", + "cost": 2, + "deck_limit": 1, + "faction_code": "hero", + "flavor": "Beast made this high-tech belt to help Iceman better control his powers.", + "illustrator": "Andrea Di Vito & Laura Villari", + "name": "Power Belt", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046004", + "pack_code": "iceman", + "position": 4, + "quantity": 1, + "resource_energy": 1, + "set_code": "iceman", + "set_position": 3, + "text": "You get +3 hit points.\nHero Resource: Exhaust Power Belt \u2192 generate a [wild] resource for an [[Ice]] card.", + "traits": "Item. Tech.", + "type_code": "upgrade" + }, + { + "code": "46005", + "cost": 2, + "deck_limit": 1, + "faction_code": "hero", + "flavor": "\"Anyone remember when I used to throw snowballs at Magneto?\" \u2014Iceman", + "illustrator": "Bruno Frenda", + "name": "Cryokinetic Perception", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046005", + "pack_code": "iceman", + "position": 5, + "quantity": 1, + "resource_mental": 1, + "set_code": "iceman", + "set_position": 4, + "text": "Hero Response: After you resolve your \"Freeze!\" ability, exhaust this card \u2192 draw 1 card. If that card has an [[Ice]] trait, ready Iceman.", + "traits": "Superpower.", + "type_code": "upgrade" + }, + { + "code": "46006", + "cost": 2, + "deck_limit": 1, + "faction_code": "hero", + "name": "Ice Slide", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046006", + "pack_code": "iceman", + "position": 6, + "quantity": 1, + "resource_energy": 1, + "set_code": "iceman", + "set_position": 5, + "text": "Iceman gets +1 THW, +1 ATK, and +1 DEF, and gains the [[Aerial]] trait.\nForced Response: After you change to alter-ego form, shuffle this card into your deck.", + "traits": "Ice. Superpower.", + "type_code": "upgrade" + }, + { + "code": "46007", + "cost": 3, + "deck_limit": 2, + "faction_code": "hero", + "name": "Frozen Solid", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046007", + "pack_code": "iceman", + "position": 7, + "quantity": 2, + "resource_mental": 1, + "set_code": "iceman", + "set_position": 6, + "text": "Hero form only. Attach to an enemy. Max 1 per enemy.\nForced Interrupt: When attached enemy would activate, discard Frozen Solid instead. Then, attach a set-aside copy of Frostbite to that enemy.", + "traits": "Condition. Ice.", + "type_code": "upgrade" + }, + { + "code": "46008", + "cost": 4, + "deck_limit": 1, + "faction_code": "hero", + "illustrator": "Facundo Moyano", + "name": "Ice Wall", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046008", + "pack_code": "iceman", + "position": 8, + "quantity": 1, + "resource_physical": 1, + "set_code": "iceman", + "set_position": 8, + "text": "Forced Interrupt: When an identity would take any amount of damage from an enemy attack, place that damage here instead. Then, if there is at least 8 damage here, discard this card and attach a set-aside copy of Frostbite to the enemy that just attacked.", + "traits": "Ice.", + "type_code": "support" + }, + { + "code": "46009", + "cost": 2, + "deck_limit": 2, + "faction_code": "hero", + "name": "Arctic Attack", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046009", + "pack_code": "iceman", + "position": 9, + "quantity": 2, + "resource_energy": 1, + "set_code": "iceman", + "set_position": 9, + "text": "Hero Action (attack): Choose:\n\u2022 Deal 4 damage to an enemy and attach a set-aside copy of Frostbite to it.\n\u2022 Deal 6 damage to an enemy with Frostbite attached.", + "traits": "Attack. Ice. Superpower.", + "type_code": "event" + }, + { + "code": "46010", + "cost": 3, + "deck_limit": 2, + "faction_code": "hero", + "flavor": "\"Time to put these guys on ice.\" \u2014Iceman", + "name": "Ice Blast", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046010", + "pack_code": "iceman", + "position": 10, + "quantity": 2, + "resource_physical": 1, + "set_code": "iceman", + "set_position": 11, + "text": "Hero Action: Choose a player. Attach a set-aside copy of Frostbite to the villain and each minion engaged with that player. Deal 3 damage to each enemy with a copy of Frostbite attached.", + "traits": "Ice. Superpower.", + "type_code": "event" + }, + { + "code": "46011", + "cost": 2, + "deck_limit": 3, + "faction_code": "hero", + "flavor": "\"Seriously, dude. I'm all out of ice puns.\" \u2014Iceman", + "name": "Chill Out!", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046011", + "pack_code": "iceman", + "position": 11, + "quantity": 3, + "resource_mental": 1, + "set_code": "iceman", + "set_position": 13, + "text": "Hero Action (thwart): Remove 3 threat from a scheme. Attach a set-aside copy of Frostbite to an enemy.", + "traits": "Ice. Superpower. Thwart.", + "type_code": "event" + }, + { + "attack": 2, + "attack_cost": 1, + "attack_star": true, + "code": "46012", + "cost": 2, + "deck_limit": 1, + "faction_code": "aggression", + "flavor": "The only thing scarier than a ravenous teenager is one who can turn into a shark.", + "health": 2, + "is_unique": true, + "name": "Shark-Girl", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046012", + "pack_code": "iceman", + "position": 12, + "quantity": 1, + "resource_energy": 1, + "subname": "Iara Dos Santos", + "text": "[star] While Shark-Girl is attacking an enemy, she gets +1 ATK for each upgrade attached to that enemy.", + "thwart": 0, + "thwart_cost": 1, + "traits": "X-Men.", + "type_code": "ally" + }, + { + "attack": 2, + "attack_cost": 1, + "code": "46013", + "cost": 3, + "deck_limit": 1, + "faction_code": "aggression", + "health": 3, + "is_unique": true, + "name": "Glob", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046013", + "pack_code": "iceman", + "position": 13, + "quantity": 1, + "resource_energy": 1, + "subname": "Robert Herman", + "text": "Play only if your identity has the [[X-Men]] trait.\nResponse: After Glob enters play, deal 2 damage to an enemy with an upgrade attached.", + "thwart": 2, + "thwart_cost": 2, + "traits": "X-Men.", + "type_code": "ally" + }, + { + "code": "46014", + "cost": 0, + "deck_limit": 3, + "faction_code": "aggression", + "name": "Suppressing Fire", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046014", + "pack_code": "iceman", + "position": 14, + "quantity": 3, + "resource_mental": 1, + "text": "Attach to a minion. Max 1 per minion.\nHero Interrupt: When you attack and defeat attached minion, heal 2 damage from your hero.", + "traits": "Tactic.", + "type_code": "upgrade" + }, + { + "code": "46015", + "cost": 1, + "deck_limit": 3, + "faction_code": "aggression", + "name": "Surprise Move", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046015", + "pack_code": "iceman", + "position": 15, + "quantity": 3, + "resource_mental": 1, + "text": "Hero Interrupt: When you make a basic attack against an enemy with an upgrade attached, you get +2 ATK for this attack. If this attack defeats that enemy, ready your hero.", + "traits": "Tactic.", + "type_code": "event" + }, + { + "code": "46016", + "cost": 3, + "deck_limit": 3, + "faction_code": "aggression", + "flavor": "\"And don't come back!\" \u2014Magik", + "name": "Take That!", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046016", + "pack_code": "iceman", + "position": 16, + "quantity": 3, + "resource_energy": 1, + "text": "Hero Action (attack): Deal 7 damage to an enemy with an upgrade attached.", + "traits": "Attack.", + "type_code": "event" + }, + { + "code": "46017", + "cost": 0, + "deck_limit": 3, + "faction_code": "aggression", + "name": "Looking for Trouble", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046017", + "pack_code": "iceman", + "position": 17, + "quantity": 3, + "resource_physical": 1, + "text": "Hero Action (thwart): Discard cards from the top of the encounter deck until you discard a minion. Put that minion into play engaged with you \u2192 remove 3 threat from the main scheme.", + "traits": "Thwart.", + "type_code": "event" + }, + { + "base_threat": 2, + "code": "46018", + "cost": 0, + "deck_limit": 1, + "faction_code": "aggression", + "is_unique": true, + "name": "Keep Up the Pressure", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046018", + "pack_code": "iceman", + "position": 18, + "quantity": 1, + "resource_energy": 1, + "text": "Victory 0.\nWhen Defeated: Each player may search their deck and discard pile for an [[Attack]] event and add it to their hand. (Shuffle.) Until the end of the phase, each [[Attack]] event deals 1 additional damage.", + "type_code": "player_side_scheme" + }, + { + "attack": 1, + "attack_cost": 1, + "code": "46019", + "cost": 3, + "deck_limit": 1, + "faction_code": "basic", + "health": 3, + "is_unique": true, + "name": "Shadowcat", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046019", + "pack_code": "iceman", + "position": 19, + "quantity": 1, + "resource_mental": 1, + "subname": "Kitty Pryde", + "text": "Play only if your identity has the [[X-Men]] trait.\nResponse: After you play Shadowcat from your hand, choose a side scheme in play \u2192 that scheme loses each [acceleration], [amplify], [crisis], and [hazard] icon until the end of the round.", + "thwart": 2, + "thwart_cost": 1, + "traits": "X-Men.", + "type_code": "ally" + }, + { + "attack": 1, + "attack_cost": 1, + "code": "46020", + "cost": 2, + "deck_limit": 1, + "faction_code": "basic", + "flavor": "\"I'm not really strong and I don't shoot death-rays, but I am good at making friends.\"", + "health": 2, + "is_unique": true, + "name": "Beak", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046020", + "pack_code": "iceman", + "position": 20, + "quantity": 1, + "resource_energy": 1, + "subname": "Barnell Bohusk", + "text": "Response: After you play Beak from your hand, remove 1 threat from a scheme for each [[X-Men]] ally you control.", + "thwart": 1, + "thwart_cost": 1, + "traits": "X-Men.", + "type_code": "ally" + }, + { + "code": "46021", + "duplicate_of": "12024", + "flavor": "\"This is why we practice, people!\" \u2014Phoenix", + "pack_code": "iceman", + "position": 21, + "quantity": 3 + }, + { + "code": "46022", + "duplicate_of": "15031", + "flavor": "\"You'll be fine.\" \u2014Dr. Rao", + "pack_code": "iceman", + "position": 22, + "quantity": 3 + }, + { + "code": "46023", + "duplicate_of": "13024", + "pack_code": "iceman", + "position": 23, + "quantity": 2 + } +] \ No newline at end of file diff --git a/pack/iceman_encounter.json b/pack/iceman_encounter.json new file mode 100644 index 00000000..90ce70b9 --- /dev/null +++ b/pack/iceman_encounter.json @@ -0,0 +1,155 @@ +[ + { + "boost": 2, + "code": "46024", + "faction_code": "encounter", + "name": "Hot-Headed", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046024", + "pack_code": "iceman", + "position": 24, + "quantity": 1, + "set_code": "iceman", + "text": "Give to the Bobby Drake player.\nForced Response: After you attach a Frostbite upgrade to an enemy, take 1 damage.\nAlter-Ego Response: After you make a basic recovery, discard this card.", + "type_code": "obligation" + }, + { + "attack": 3, + "attack_star": true, + "boost": 3, + "code": "46025", + "faction_code": "encounter", + "flavor": "\"You think those ice sculptures can stop me?!\"", + "health": 4, + "illustrator": "Bruno Frenda", + "is_unique": true, + "name": "Pyro", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046025", + "pack_code": "iceman", + "position": 25, + "quantity": 1, + "scheme": 1, + "set_code": "iceman_nemesis", + "set_position": 1, + "text": "Quickstrike.\n[star] Pyro's attacks deal indirect damage.", + "traits": "Brotherhood of Mutants.", + "type_code": "minion" + }, + { + "base_threat": 3, + "base_threat_fixed": true, + "boost": 3, + "code": "46026", + "faction_code": "encounter", + "illustrator": "Allie Preswick", + "name": "Playing with Fire", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046026", + "pack_code": "iceman", + "position": 26, + "quantity": 1, + "scheme_acceleration": 1, + "set_code": "iceman_nemesis", + "set_position": 2, + "text": "When Defeated: The player who defeated this scheme discards the top 3 cards of their deck and takes 1 indirect damage for each resource icon discarded this way.", + "type_code": "side_scheme" + }, + { + "attack": 0, + "attack_star": true, + "boost": 2, + "code": "46027", + "faction_code": "encounter", + "illustrator": "Bruno Frenda", + "name": "Pyro's Flamethrower", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046027", + "pack_code": "iceman", + "position": 27, + "quantity": 1, + "set_code": "iceman_nemesis", + "set_position": 3, + "text": "Attach to Pyro. Otherwise, this card gains surge.\n[star] Forced Interrupt: When Pyro attacks you, discard the top card of your deck. Pyro gets +1 ATK for this attack for each resource icon on that card.", + "traits": "Weapon.", + "type_code": "attachment" + }, + { + "boost_star": true, + "code": "46028", + "faction_code": "encounter", + "illustrator": "Bruno Frenda", + "name": "Burn!", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046028", + "pack_code": "iceman", + "position": 28, + "quantity": 2, + "set_code": "iceman_nemesis", + "set_position": 4, + "text": "When Revealed: Discard the top 2 cards of your deck (3 cards instead if Pyro is in play). Take 1 indirect damage for each resource icon discarded this way.\n
\n[star] Boost: Discard the top card of your deck. This card gets +1 boost icon ([boost]) for each resource icon on that card.", + "type_code": "treachery" + }, + { + "attack": 2, + "boost_star": true, + "code": "46029", + "faction_code": "encounter", + "health": 6, + "is_unique": true, + "name": "Sauron", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046029", + "pack_code": "iceman", + "position": 29, + "quantity": 1, + "scheme": 2, + "set_code": "sauron", + "set_position": 1, + "text": "When Revealed: Search the encounter deck and discard pile for the Life Drain attachment and reveal it.\n
\n[star] Boost: Heal 3 damage from the activating enemy and give it a tough status card.", + "traits": "Brotherhood of Mutants.", + "type_code": "minion" + }, + { + "base_threat": 3, + "base_threat_fixed": true, + "boost": 3, + "code": "46030", + "faction_code": "encounter", + "flavor": "When Dr. Lykos absorbs mutant energy, he transforms into the terrifying Sauron!", + "name": "Sauron Lives!", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046030", + "pack_code": "iceman", + "position": 30, + "quantity": 1, + "scheme_crisis": 1, + "set_code": "sauron", + "set_position": 2, + "text": "When Defeated: The player who defeated this scheme searches the encounter deck and discard pile for Sauron and deals him to themself as a facedown encounter card.", + "type_code": "side_scheme" + }, + { + "attack_star": true, + "boost": 2, + "code": "46031", + "faction_code": "encounter", + "name": "Life Drain", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046031", + "pack_code": "iceman", + "position": 31, + "quantity": 1, + "set_code": "sauron", + "set_position": 3, + "text": "Attach to the minion with the highest printed hit points. It activates against you. If no minion activated this way, this card gains surge.\n[star] Forced Interrupt: When attached enemy attacks you, take 2 damage and give the attacking enemy a tough status card.", + "traits": "Superpower.", + "type_code": "attachment" + }, + { + "boost": 1, + "code": "46032", + "faction_code": "encounter", + "name": "The Eye of Sauron", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7a046032", + "pack_code": "iceman", + "position": 32, + "quantity": 3, + "set_code": "sauron", + "set_position": 4, + "text": "When Revealed: Discard the top 2 cards of your deck (top 3 cards instead if Sauron is in play). For each resource icon discarded this way, do the following:\n[energy] \u2014 Place 1 threat on the main scheme.\n[mental] \u2014 Discard 1 card from your hand.\n[physical] \u2014 Deal 1 damage to your identity.\n[wild] \u2014 Exhaust a character you control.", + "type_code": "treachery" + } +] \ No newline at end of file diff --git a/packs.json b/packs.json index bc175f16..70fdefa6 100644 --- a/packs.json +++ b/packs.json @@ -457,5 +457,15 @@ "pack_type_code": "story", "position": 45, "size": 271 + }, + { + "cgdb_id": 46, + "code": "iceman", + "date_release": "2024-05-17", + "name": "Iceman", + "octgn_id": "9612581e-ee76-46fb-89b7-71ae7aac08d7", + "pack_type_code": "hero", + "position": 46, + "size": 60 } ] \ No newline at end of file diff --git a/sets.json b/sets.json index 9e13f8cb..38bc1a7c 100644 --- a/sets.json +++ b/sets.json @@ -1357,5 +1357,25 @@ "code": "prelates", "name": "Prelates", "card_set_type_code": "modular" + }, + { + "code": "iceman", + "name": "Iceman", + "card_set_type_code": "hero" + }, + { + "code": "frostbite", + "name": "Frostbite", + "card_set_type_code": "hero" + }, + { + "code": "iceman_nemesis", + "name": "Iceman Nemesis", + "card_set_type_code": "nemesis" + }, + { + "code": "sauron", + "name": "Sauron", + "card_set_type_code": "modular" } ]