Add Ebon Praetor (from Fallen Empires) as an example of using SVar:X:Sacrificed$Valid <valid string>

This commit is contained in:
jendave
2011-08-06 18:49:35 +00:00
parent 8204bb20ac
commit 8be4649955
2 changed files with 17 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1756,6 +1756,7 @@ res/cardsfolder/eastern_paladin.txt -text svneol=native#text/plain
res/cardsfolder/eater_of_days.txt -text svneol=native#text/plain
res/cardsfolder/ebon_dragon.txt -text svneol=native#text/plain
res/cardsfolder/ebon_drake.txt -text svneol=native#text/plain
res/cardsfolder/ebon_praetor.txt -text svneol=native#text/plain
res/cardsfolder/ebon_stronghold.txt -text svneol=native#text/plain
res/cardsfolder/ebony_horse.txt -text svneol=native#text/plain
res/cardsfolder/ebony_owl_netsuke.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,16 @@
Name:Ebon Praetor
ManaCost:4 B B
Types:Creature Avatar
Text:no text
PT:5/5
K:First Strike
K:Trample
T:Mode$ Phase | Phase$ Upkeep | ValidPlayer$ You | TriggerZones$ Battlefield | Execute$ TrigPutCounter | TriggerDescription$ At the beginning of your upkeep, put a -2/-2 counter on CARDNAME.
SVar:TrigPutCounter:AB$PutCounter | Cost$ 0 | Defined$ Self | CounterType$ M2M2 | CounterNum$ 1 | SpellDescription$ Put a -2/-2 counter on CARDNAME.
A:AB$RemoveCounter | Cost$ Sac<1/Creature> | CounterType$ M2M2 | CounterNum$ 1 | ActivatingPhases$ Upkeep | PlayerTurn$ True | ActivationLimit$ 1 | SubAbility$ SVar=DBPutCounter | SpellDescription$ Remove a -2/-2 counter from CARDNAME. If the sacrificed creature was a Thrull, put a +1/+0 counter on CARDNAME. Activate this ability only during your upkeep and only once each turn.
SVar:DBPutCounter:DB$PutCounter | CounterNum$ X | CounterType$ P1P0
SVar:X:Sacrificed$Valid Thrull
SVar:RemAIDeck:True
SVar:Rarity:Rare
SVar:Picture:http://www.wizards.com/global/images/magic/general/ebon_praetor.jpg
End