mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
add Devouring Rage (from Champions of Kamigawa)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -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/devour_in_shadow.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_swarm.txt svneol=native#text/plain
|
||||
res/cardsfolder/d/devout_harpist.txt svneol=native#text/plain
|
||||
|
||||
13
res/cardsfolder/d/devouring_rage.txt
Normal file
13
res/cardsfolder/d/devouring_rage.txt
Normal 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
|
||||
@@ -3509,6 +3509,8 @@ public class CardFactoryUtil {
|
||||
return num - secondaryNum;
|
||||
} else if (s[0].contains("Twice")) {
|
||||
return num * 2;
|
||||
} else if (s[0].contains("Thrice")) {
|
||||
return num * 3;
|
||||
} else if (s[0].contains("HalfUp")) {
|
||||
return (int) (Math.ceil(num / 2.0));
|
||||
} else if (s[0].contains("HalfDown")) {
|
||||
|
||||
Reference in New Issue
Block a user