- Added the optional "ForgetOtherRemembered" parameter to AF Dig.

- Fixed Cerebral Eruption.
This commit is contained in:
Sloth
2011-11-20 12:59:11 +00:00
parent c4abc45cdd
commit 7b1fc210fa
2 changed files with 4 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ Name:Cerebral Eruption
ManaCost:2 R R ManaCost:2 R R
Types:Sorcery Types:Sorcery
Text:no text Text:no text
A:SP$ Dig | Cost$ 2 R R | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card.YouDontCtrl | DestinationZone$ Library | RememberChanged$ True | SubAbility$ DBDamage | SpellDescription$ Target opponent reveals the top card of his or her library. Cerebral Eruption deals damage equal to the revealed card's converted mana cost to that player and each creature he or she controls. If a land card is revealed this way, return Cerebral Eruption to its owner's hand. A:SP$ Dig | Cost$ 2 R R | ValidTgts$ Opponent | TgtPrompt$ Select target opponent | DigNum$ 1 | Reveal$ True | ChangeNum$ All | ChangeValid$ Card.YouDontCtrl | DestinationZone$ Library | LibraryPosition$ 0 | RememberChanged$ True | ForgetOtherRemembered$ True | SubAbility$ DBDamage | SpellDescription$ Target opponent reveals the top card of his or her library. Cerebral Eruption deals damage equal to the revealed card's converted mana cost to that player and each creature he or she controls. If a land card is revealed this way, return Cerebral Eruption to its owner's hand.
SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.YouDontCtrl | ValidPlayers$ Opponent | NumDmg$ X | SubAbility$ DBReturn SVar:DBDamage:DB$ DamageAll | ValidCards$ Creature.YouDontCtrl | ValidPlayers$ Opponent | NumDmg$ X | SubAbility$ DBReturn
SVar:DBReturn:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ1 SVar:DBReturn:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ1
SVar:X:Remembered$CardManaCost SVar:X:Remembered$CardManaCost

View File

@@ -437,6 +437,9 @@ public final class AbilityFactoryReveal {
c.setTapped(true); c.setTapped(true);
} }
} }
if (params.containsKey("ForgetOtherRemembered")) {
sa.getSourceCard().clearRemembered();
}
if (params.containsKey("RememberChanged")) { if (params.containsKey("RememberChanged")) {
host.addRemembered(c); host.addRemembered(c);
} }