diff --git a/projects/mtg/bin/Res/sets/ATQ/_cards.dat b/projects/mtg/bin/Res/sets/ATQ/_cards.dat index 119fa5870..5eda90e25 100644 --- a/projects/mtg/bin/Res/sets/ATQ/_cards.dat +++ b/projects/mtg/bin/Res/sets/ATQ/_cards.dat @@ -261,15 +261,6 @@ mana={U} type=Sorcery [/card] [card] -id=1070 -alias=1362 -name=Reverse Polarity -mana={W}{W} -type=Instant -text=You gain X life, where X is twice the damage dealt to you so far this turn by artifacts. -rarity=U -[/card] -[card] text={T}: Sacrifice an artifact: Draw a card. id=1046 name=Sage of Lat-Nam diff --git a/projects/mtg/bin/Res/sets/ATQ/todo.dat b/projects/mtg/bin/Res/sets/ATQ/todo.dat index a08800949..5e10efa82 100644 --- a/projects/mtg/bin/Res/sets/ATQ/todo.dat +++ b/projects/mtg/bin/Res/sets/ATQ/todo.dat @@ -1,4 +1,4 @@ -[card] +[card] id=992 name=Amulet of Kroog mana={2} @@ -306,6 +306,15 @@ text={2}: Prevent the next 1 damage that would be dealt to target creature or pl rarity=U [/card] [card] +id=1070 +alias=1362 +name=Reverse Polarity +mana={W}{W} +type=Instant +text=You gain X life, where X is twice the damage dealt to you so far this turn by artifacts. +rarity=U +[/card] +[card] id=1019 name=Rocket Launcher mana={4} diff --git a/projects/mtg/bin/Res/sets/RV/_cards.dat b/projects/mtg/bin/Res/sets/RV/_cards.dat index 8f0b8cd4c..47412a25d 100644 --- a/projects/mtg/bin/Res/sets/RV/_cards.dat +++ b/projects/mtg/bin/Res/sets/RV/_cards.dat @@ -1796,14 +1796,6 @@ mana={2}{W}{W} type=Sorcery [/card] [card] -text=You gain X life, where X is twice the damage dealt to you so far this turn by artifacts. -id=1362 -name=Reverse Polarity -rarity=U -mana={W}{W} -type=Instant -[/card] -[card] text=Target blocking creature gets +7/+7 until end of turn. auto=7/7 target=creature[blocking] diff --git a/projects/mtg/bin/Res/sets/RV/todo.dat b/projects/mtg/bin/Res/sets/RV/todo.dat index cfb0960b5..fd25f180c 100644 --- a/projects/mtg/bin/Res/sets/RV/todo.dat +++ b/projects/mtg/bin/Res/sets/RV/todo.dat @@ -398,6 +398,14 @@ type=Instant mana={1}{W}{W} [/card] [card] +text=You gain X life, where X is twice the damage dealt to you so far this turn by artifacts. +id=1362 +name=Reverse Polarity +rarity=U +mana={W}{W} +type=Instant +[/card] +[card] text=Rock Hydra comes into play with X +1/+1 counters on it. For each 1 damage that would be dealt to Rock Hydra, if it has a +1/+1 counter on it, remove a +1/+1 counter from it and prevent that 1 damage. {R}: Prevent the next 1 damage that would be dealt to Rock Hydra this turn. {R}{R}{R}: Put a +1/+1 counter on Rock Hydra. Play this ability only during your upkeep. id=1314 name=Rock Hydra diff --git a/projects/mtg/src/MTGAbility.cpp b/projects/mtg/src/MTGAbility.cpp index 9df8de843..31203de8d 100644 --- a/projects/mtg/src/MTGAbility.cpp +++ b/projects/mtg/src/MTGAbility.cpp @@ -1421,19 +1421,6 @@ void AbilityFactory::addAbilities(int _id, Spell * spell){ game->addObserver(NEW AOldSchoolDeathtouch(_id,card)); break; } - case 1362: //Reverse polarity - { - ActionStack * as = game->mLayers->stackLayer(); - Player * controller = card->controller(); - Damage * current = ((Damage *)as->getNext(NULL,ACTION_SPELL, RESOLVED_OK)); - while(current){ - if (current->target == controller && current->source->hasType("artifact")){ - controller->life+= current->damage * 2; - } - current = ((Damage *)as->getNext(current,ACTION_SPELL, RESOLVED_OK)); - } - break; - } case 1225: //Stasis { game->addObserver(NEW AStasis(_id, card));