add Devouring Rage (from Champions of Kamigawa)

This commit is contained in:
slapshot5
2011-10-29 02:24:59 +00:00
parent bc7dee9645
commit 8823aa1f7a
3 changed files with 16 additions and 0 deletions

1
.gitattributes vendored
View File

@@ -1988,6 +1988,7 @@ res/cardsfolder/d/devoted_hero.txt svneol=native#text/plain
res/cardsfolder/d/devoted_retainer.txt svneol=native#text/plain res/cardsfolder/d/devoted_retainer.txt svneol=native#text/plain
res/cardsfolder/d/devour_in_shadow.txt svneol=native#text/plain res/cardsfolder/d/devour_in_shadow.txt svneol=native#text/plain
res/cardsfolder/d/devouring_deep.txt svneol=native#text/plain res/cardsfolder/d/devouring_deep.txt svneol=native#text/plain
res/cardsfolder/d/devouring_rage.txt -text
res/cardsfolder/d/devouring_strossus.txt -text res/cardsfolder/d/devouring_strossus.txt -text
res/cardsfolder/d/devouring_swarm.txt svneol=native#text/plain res/cardsfolder/d/devouring_swarm.txt svneol=native#text/plain
res/cardsfolder/d/devout_harpist.txt svneol=native#text/plain res/cardsfolder/d/devout_harpist.txt svneol=native#text/plain

View File

@@ -0,0 +1,13 @@
Name:Devouring Rage
ManaCost:4 R
Types:Instant Arcane
Text:no text
A:SP$ Pump | Cost$ 4 R Sac<X/Spirit> | ValidTgts$ Creature | TgtPrompt$ Select target creature | NumAtt$ Z | SpellDescription$ Target creature gets +3/+0 until end of turn. For each Spirit sacrificed this way, that creature gets an additional +3/+0 until end of turn.
SVar:Z:SVar$Y/Thrice
SVar:Y:Sacrificed$Amount.Plus.1
SVar:X:XChoice
#ChosenX SVar created by Cost payment
SVar:RemAIDeck:True
SVar:Rarity:Common
SVar:Picture:http://www.wizards.com/global/images/magic/general/devouring_rage.jpg
End

View File

@@ -3509,6 +3509,8 @@ public class CardFactoryUtil {
return num - secondaryNum; return num - secondaryNum;
} else if (s[0].contains("Twice")) { } else if (s[0].contains("Twice")) {
return num * 2; return num * 2;
} else if (s[0].contains("Thrice")) {
return num * 3;
} else if (s[0].contains("HalfUp")) { } else if (s[0].contains("HalfUp")) {
return (int) (Math.ceil(num / 2.0)); return (int) (Math.ceil(num / 2.0));
} else if (s[0].contains("HalfDown")) { } else if (s[0].contains("HalfDown")) {