mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
- Added Whipgrass Entangler (the last one for Legions set)
This commit is contained in:
1
.gitattributes
vendored
1
.gitattributes
vendored
@@ -12150,6 +12150,7 @@ res/cardsfolder/w/whip_spine_drake.txt svneol=native#text/plain
|
||||
res/cardsfolder/w/whip_vine.txt svneol=native#text/plain
|
||||
res/cardsfolder/w/whipcorder.txt svneol=native#text/plain
|
||||
res/cardsfolder/w/whipflare.txt svneol=native#text/plain
|
||||
res/cardsfolder/w/whipgrass_entangler.txt -text
|
||||
res/cardsfolder/w/whipkeeper.txt -text
|
||||
res/cardsfolder/w/whiplash_trap.txt svneol=native#text/plain
|
||||
res/cardsfolder/w/whipstitched_zombie.txt svneol=native#text/plain
|
||||
|
||||
12
res/cardsfolder/w/whipgrass_entangler.txt
Normal file
12
res/cardsfolder/w/whipgrass_entangler.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
Name:Whipgrass Entangler
|
||||
ManaCost:2 W
|
||||
Types:Creature Human Cleric
|
||||
PT:1/3
|
||||
A:AB$ Animate | Cost$ 1 W | ValidTgts$ Creature | staticAbilities$ WhipgrassCantAttack,WhipgrassCantBlock | sVars$ WhipgrassClericNum | SpellDescription$ Until end of turn, target creature gains "This creature can't attack or block unless its controller pays 1 for each Cleric on the battlefield."
|
||||
SVar:WhipgrassCantAttack:Mode$ CantAttackUnless | ValidCard$ Card.Self | Cost$ WhipgrassClericNum | References$ WhipgrassClericNum | Description$ CARDNAME can't attack or block unless you pay 1 for each Cleric on the battlefield.
|
||||
SVar:WhipgrassCantBlock:Mode$ CantBlockUnless | ValidCard$ Card.Self | Cost$ WhipgrassClericNum | References$ WhipgrassClericNum
|
||||
SVar:WhipgrassClericNum:Count$Valid Cleric
|
||||
SVar:RemAIDeck:True
|
||||
SVar:Picture:http://www.wizards.com/global/images/magic/general/whipgrass_entangler.jpg
|
||||
Oracle:{1}{W}: Until end of turn, target creature gains "This creature can't attack or block unless its controller pays {1} for each Cleric on the battlefield."
|
||||
SetInfo:LGN Common
|
||||
@@ -82,6 +82,8 @@ public class StaticAbilityCantAttackBlock {
|
||||
costString = Integer.toString(CardFactoryUtil.xCount(hostCard, hostCard.getSVar("X")));
|
||||
} else if ("Y".equals(costString)) {
|
||||
costString = Integer.toString(CardFactoryUtil.xCount(hostCard, hostCard.getSVar("Y")));
|
||||
} else if (params.containsKey("References")) {
|
||||
costString = Integer.toString(CardFactoryUtil.xCount(hostCard, hostCard.getSVar(params.get("References"))));
|
||||
}
|
||||
|
||||
final Cost cost = new Cost(costString, true);
|
||||
@@ -116,6 +118,8 @@ public class StaticAbilityCantAttackBlock {
|
||||
costString = Integer.toString(CardFactoryUtil.xCount(hostCard, hostCard.getSVar("X")));
|
||||
} else if ("Y".equals(costString)) {
|
||||
costString = Integer.toString(CardFactoryUtil.xCount(hostCard, hostCard.getSVar("Y")));
|
||||
} else if (params.containsKey("References")) {
|
||||
costString = Integer.toString(CardFactoryUtil.xCount(hostCard, hostCard.getSVar(params.get("References"))));
|
||||
}
|
||||
|
||||
final Cost cost = new Cost(costString, true);
|
||||
|
||||
Reference in New Issue
Block a user