mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Added the option "UntilEndOfCombat" to AF Pump.
- Added Glyph of Destruction.
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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
|
||||
|
||||
11
res/cardsfolder/glyph_of_destruction.txt
Normal file
11
res/cardsfolder/glyph_of_destruction.txt
Normal 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
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user