add Storm Elemental and Whirling Catapult

This commit is contained in:
jendave
2011-08-06 21:26:21 +00:00
parent d6be7e2afa
commit a62f2ebab3
4 changed files with 25 additions and 7 deletions

2
.gitattributes vendored
View File

@@ -6346,6 +6346,7 @@ res/cardsfolder/stonybrook_angler.txt -text svneol=native#text/plain
res/cardsfolder/stonybrook_banneret.txt -text svneol=native#text/plain
res/cardsfolder/stonybrook_schoolmaster.txt -text svneol=native#text/plain
res/cardsfolder/storm_crow.txt -text svneol=native#text/plain
res/cardsfolder/storm_elemental.txt svneol=native#text/plain
res/cardsfolder/storm_entity.txt -text svneol=native#text/plain
res/cardsfolder/storm_front.txt -text svneol=native#text/plain
res/cardsfolder/storm_herd.txt -text svneol=native#text/plain
@@ -7415,6 +7416,7 @@ res/cardsfolder/whipstitched_zombie.txt -text svneol=native#text/plain
res/cardsfolder/whiptail_moloch.txt -text svneol=native#text/plain
res/cardsfolder/whiptail_wurm.txt -text svneol=native#text/plain
res/cardsfolder/whiptongue_frog.txt -text svneol=native#text/plain
res/cardsfolder/whirling_catapult.txt -text svneol=native#text/plain
res/cardsfolder/whirling_dervish.txt -text svneol=native#text/plain
res/cardsfolder/whirlpool_rider.txt -text svneol=native#text/plain
res/cardsfolder/whirlwind.txt -text svneol=native#text/plain

View File

@@ -0,0 +1,12 @@
Name:Storm Elemental
ManaCost:5 U
Types:Creature Elemental
Text:no text
PT:3/4
K:Flying
A:AB$Tap | Cost$ U ExileFromTop<1/Card> | ValidTgts$ Creature.withFlying | TgtPrompt$ Select target creature with flying | SpellDescription$ Tap target creature with flying.
A:AB$Pump | Cost$ U ExileFromTop<1/Card> | Defined$ Self | NumAtt$ +X | NumDef$ +X | SpellDescription$ If the exiled card is a snow land, CARDNAME gets +1/+1 until end of turn.
SVar:X:Exiled$Valid Land.Snow
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/storm_elemental.jpg
End

View File

@@ -0,0 +1,8 @@
Name:Whirling Catapult
ManaCost:4
Types:Artifact
Text:no text
A:AB$ DamageAll | Cost$ 2 ExileFromTop<2/Card> | NumDmg$ 1 | ValidCards$ Creature.withFlying | ValidPlayers$ Each | ValidDescription$ each creature with flying and each player. | SpellDescription$ CARDNAME deals 1 damage to each creature with flying and each player.
SVar:Rarity:Uncommon
SVar:Picture:http://www.wizards.com/global/images/magic/general/whirling_catapult.jpg
End

View File

@@ -700,14 +700,10 @@ public class Cost {
}
if(exileType.equals("CARDNAME"))
cost.append(name).append(" ");
cost.append(name).append(" from the top of you library");
else {
cost.append("the top");
if(exileFromTopAmount != 1) {
cost.append(convertIntAndTypeToWords(exileFromTopAmount, exileFromTopType));
}
cost.append(" card");
if(exileFromTopAmount != 1) cost.append("s");
cost.append("the top ");
cost.append(convertIntAndTypeToWords(exileFromTopAmount, exileFromTopType));
cost.append(" of your library");
}
return cost.toString();