mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- Added the optional "ForgetOtherRemembered" parameter to AF Dig.
- Fixed Cerebral Eruption.
This commit is contained in:
@@ -2,7 +2,7 @@ Name:Cerebral Eruption
|
||||
ManaCost:2 R R
|
||||
Types:Sorcery
|
||||
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:DBReturn:DB$ ChangeZone | Defined$ Self | Origin$ Stack | Destination$ Hand | ConditionDefined$ Remembered | ConditionPresent$ Land | ConditionCompare$ EQ1
|
||||
SVar:X:Remembered$CardManaCost
|
||||
|
||||
@@ -437,6 +437,9 @@ public final class AbilityFactoryReveal {
|
||||
c.setTapped(true);
|
||||
}
|
||||
}
|
||||
if (params.containsKey("ForgetOtherRemembered")) {
|
||||
sa.getSourceCard().clearRemembered();
|
||||
}
|
||||
if (params.containsKey("RememberChanged")) {
|
||||
host.addRemembered(c);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user