- Added Whipgrass Entangler (the last one for Legions set)

This commit is contained in:
swordshine
2013-04-17 13:09:41 +00:00
parent a4743c1035
commit 2ccb64efa3
3 changed files with 17 additions and 0 deletions

View File

@@ -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);