From 4fdd9a5bcd0bccbc05379569324911510fd281fe Mon Sep 17 00:00:00 2001 From: Sloth Date: Wed, 8 Feb 2012 20:44:00 +0000 Subject: [PATCH] - Moved the execution of getStLandManaAbilities() to checkStaticAbilities() (fixes Evil Presence). --- res/cardsfolder/i/immortal_coil.txt | 29 ++++++++++++++-------------- res/cardsfolder/m/momentous_fall.txt | 2 +- src/main/java/forge/GameAction.java | 4 ++-- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/res/cardsfolder/i/immortal_coil.txt b/res/cardsfolder/i/immortal_coil.txt index a1be2ae6cd4..a16c4178e6b 100644 --- a/res/cardsfolder/i/immortal_coil.txt +++ b/res/cardsfolder/i/immortal_coil.txt @@ -1,15 +1,16 @@ -Name:Immortal Coil -ManaCost:2 B B -Types:Artifact -Text:no text -A:AB$ Draw | Cost$ T ExileFromGrave<2/Card> | CostDesc$ T, Exile two cards from your graveyard | NumCards$ 1 | SpellDescription$ Draw a card. -R:Event$ DamageDone | ValidTarget$ You | ReplaceWith$ ChangeZone | PreventionEffect$ True | Description$ If damage would be dealt to you, prevent that damage. Exile a card from your graveyard for each 1 damage prevented this way. -SVar:ChangeZone:AB$ ChangeZone | Cost$ 0 | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ X | DefinedPlayer$ ReplacedTarget | Origin$ Graveyard | Destination$ Exile -T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.YouCtrl | PresentZone$ Graveyard | PresentCompare$ EQ0 | Execute$ TrigLoseGame | TriggerDescription$ When there are no cards in your graveyard, you lose the game. -SVar:TrigLoseGame:AB$ LosesGame | Cost$ 0 | Defined$ You -SVar:X:ReplaceCount$DamageAmount -SVar:Rarity:Rare -SVar:Picture:http://www.wizards.com/global/images/magic/general/immortal_coil.jpg -SetInfo:ALA|Rare|http://magiccards.info/scans/en/ala/79.jpg -Oracle:{T}, Exile two cards from your graveyard: Draw a card.\nIf damage would be dealt to you, prevent that damage. Exile a card from your graveyard for each 1 damage prevented this way.\nWhen there are no cards in your graveyard, you lose the game. +Name:Immortal Coil +ManaCost:2 B B +Types:Artifact +Text:no text +A:AB$ Draw | Cost$ T ExileFromGrave<2/Card> | CostDesc$ T, Exile two cards from your graveyard | NumCards$ 1 | SpellDescription$ Draw a card. +R:Event$ DamageDone | ValidTarget$ You | ReplaceWith$ ChangeZone | PreventionEffect$ True | Description$ If damage would be dealt to you, prevent that damage. Exile a card from your graveyard for each 1 damage prevented this way. +SVar:ChangeZone:AB$ ChangeZone | Cost$ 0 | Hidden$ True | Mandatory$ True | ChangeType$ Card | ChangeNum$ X | DefinedPlayer$ ReplacedTarget | Origin$ Graveyard | Destination$ Exile +T:Mode$ Always | TriggerZones$ Battlefield | IsPresent$ Card.YouCtrl | PresentZone$ Graveyard | PresentCompare$ EQ0 | Execute$ TrigLoseGame | TriggerDescription$ When there are no cards in your graveyard, you lose the game. +SVar:TrigLoseGame:AB$ LosesGame | Cost$ 0 | Defined$ You +SVar:X:ReplaceCount$DamageAmount +SVar:RemRandomDeck:True +SVar:Rarity:Rare +SVar:Picture:http://www.wizards.com/global/images/magic/general/immortal_coil.jpg +SetInfo:ALA|Rare|http://magiccards.info/scans/en/ala/79.jpg +Oracle:{T}, Exile two cards from your graveyard: Draw a card.\nIf damage would be dealt to you, prevent that damage. Exile a card from your graveyard for each 1 damage prevented this way.\nWhen there are no cards in your graveyard, you lose the game. End \ No newline at end of file diff --git a/res/cardsfolder/m/momentous_fall.txt b/res/cardsfolder/m/momentous_fall.txt index 0e574e7b1a2..6ab3b2c048c 100644 --- a/res/cardsfolder/m/momentous_fall.txt +++ b/res/cardsfolder/m/momentous_fall.txt @@ -2,7 +2,7 @@ Name:Momentous Fall ManaCost:2 G G Types:Instant Text:no text -A:SP$ Draw | Cost$ 2 G G Sac<1/Creature> | NumCards$ XPower | SubAbility$ DBGainLife | SpellDescription$ You draw cards equal to the sacrificed creature's power, then you gain life equal to its toughness. +A:SP$ Draw | Cost$ 2 G G Sac<1/Creature> | NumCards$ XPower | SubAbility$ DBGainLife | SpellDescription$ You draw cards equal to the sacrificed creature's power, then you gain life equal to its toughness. SVar:DBGainLife:DB$GainLife | LifeAmount$ XToughness SVar:XPower:Sacrificed$CardPower SVar:XToughness:Sacrificed$CardToughness diff --git a/src/main/java/forge/GameAction.java b/src/main/java/forge/GameAction.java index 4081dfdb6b7..8e897ac4cae 100644 --- a/src/main/java/forge/GameAction.java +++ b/src/main/java/forge/GameAction.java @@ -863,6 +863,8 @@ public class GameAction { final Command com = GameActionUtil.getCommands().get(effect); com.execute(); } + + GameActionUtil.getStLandManaAbilities().execute(); } /** @@ -1028,8 +1030,6 @@ public class GameAction { this.destroyLegendaryCreatures(); this.destroyPlaneswalkers(); - GameActionUtil.getStLandManaAbilities().execute(); - if (!refreeze) { AllZone.getStack().unfreezeStack(); }