add Gang of Elk (from Urza's Legacy)

This commit is contained in:
jendave
2011-08-06 23:00:55 +00:00
parent 71e3eff8de
commit d1696aed8d
3 changed files with 16 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -2649,6 +2649,7 @@ res/cardsfolder/galvanic_blast.txt -text svneol=native#text/plain
res/cardsfolder/galvanic_key.txt -text svneol=native#text/plain
res/cardsfolder/gamble.txt -text svneol=native#text/plain
res/cardsfolder/game_trail_changeling.txt -text svneol=native#text/plain
res/cardsfolder/gang_of_elk.txt svneol=native#text/plain
res/cardsfolder/gangrenous_goliath.txt -text svneol=native#text/plain
res/cardsfolder/gangrenous_zombies.txt svneol=native#text/plain
res/cardsfolder/gargoyle_castle.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,13 @@
Name:Gang of Elk
ManaCost:5 G
Types:Creature Elk Beast
Text:no text
PT:5/4
T:Mode$ AttackerBlocked | ValidCard$ Card.Self | Execute$ TrigPump | TriggerDescription$ Whenever CARDNAME becomes blocked, it gets +2/+2 until end of turn for each creature blocking it.
SVar:TrigPump:AB$Pump | Cost$ 0 | Defined$ Self | NumAtt$ +X | NumDef$ +X
SVar:X:Count$NumBlockingMe/Times.2
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/gang_of_elk.jpg
SetInfo:ULG|Uncommon|http://magiccards.info/scans/en/ul/102.jpg
SetInfo:7ED|Uncommon|http://magiccards.info/scans/en/7e/247.jpg
End

View File

@@ -3514,6 +3514,8 @@ public class CardFactoryUtil {
int num = c.getCounters(Counters.getType(sq[1]));
return doXMath(num, m);
}
if(sq[0].contains("NumBlockingMe"))
return doXMath(AllZone.Combat.getBlockers(c).size(), m);
//Count$IfMainPhase.<numMain>.<numNotMain> // 7/10
if (sq[0].contains("IfMainPhase"))