- Added the option "UntilEndOfCombat" to AF Pump.

- Added Glyph of Destruction.
This commit is contained in:
jendave
2011-08-07 00:56:14 +00:00
parent cc70fc5e5c
commit c3d52f5dbb
3 changed files with 14 additions and 2 deletions

1
.gitattributes vendored
View File

@@ -2872,6 +2872,7 @@ res/cardsfolder/glowing_anemone.txt -text svneol=native#text/plain
res/cardsfolder/glowrider.txt -text svneol=native#text/plain
res/cardsfolder/gluttonous_slime.txt -text svneol=native#text/plain
res/cardsfolder/gluttonous_zombie.txt -text svneol=native#text/plain
res/cardsfolder/glyph_of_destruction.txt -text svneol=native#text/plain
res/cardsfolder/gnarled_effigy.txt -text svneol=native#text/plain
res/cardsfolder/gnarled_mass.txt -text svneol=native#text/plain
res/cardsfolder/gnarlid_pack.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,11 @@
Name:Glyph of Destruction
ManaCost:R
Types:Instant
Text:no text
A:SP$ Pump | Cost$ R | ValidTgts$ Creature.Wall+blocking | TgtPrompt$ Select target blocking Wall you control | SubAbility$ SVar=DBPump | KW$ HIDDEN Prevent all combat damage that would be dealt to CARDNAME. & HIDDEN At the beginning of the end step, destroy CARDNAME. | SpellDescription$ Target blocking Wall you control gets +10/+0 until end of combat. Prevent all damage that would be dealt to it this turn. Destroy it at the beginning of the next end step.
SVar:DBPump:DB$Pump | NumAtt$ +10 | Defined$ Targeted | UntilEndOfCombat$ True
SVar:RemAIDeck:True
SVar:RemRandomDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/glyph_of_destruction.jpg
End

View File

@@ -690,8 +690,8 @@ public class AbilityFactory_Pump {
}
}
};
AllZone.EndOfTurn.addUntil(untilEOT);
if(params.containsKey("UntilEndOfCombat")) AllZone.EndOfCombat.addUntil(untilEOT);
else AllZone.EndOfTurn.addUntil(untilEOT);
}
}