- AbPump creatures that have shroud or that cannot be targeted by themselves should be able to use their pump abilities (e.g. Stillmoon Cavalier).

This commit is contained in:
jendave
2011-08-06 03:29:05 +00:00
parent 5e94b017e2
commit bc6dd8b1e7

View File

@@ -902,9 +902,9 @@ public class CardFactory implements NewConstants {
} }
if(NumAttack[0] > 0 || (NumAttack[0] == 0 && NumDefense[0] > 0)) // +0/+1 if(NumAttack[0] > 0 || (NumAttack[0] == 0 && NumDefense[0] > 0)) // +0/+1
sbD.append("+"); sbD.append("+");
else if(NumAttack[0] < 0 || (NumAttack[0] == 0 && NumDefense[0] < 0)) // -0/-1 else if(NumAttack[0] < 0 || (NumAttack[0] == 0 && NumDefense[0] < 0)) // -0/-1
sbD.append("-"); sbD.append("-");
sbD.append(Math.abs(NumAttack[0]) + "/"); sbD.append(Math.abs(NumAttack[0]) + "/");
@@ -1068,7 +1068,7 @@ public class CardFactory implements NewConstants {
@Override @Override
public void resolve() { public void resolve() {
if(AllZone.GameAction.isCardInPlay(getTargetCard()) if(AllZone.GameAction.isCardInPlay(getTargetCard())
&& CardFactoryUtil.canTarget(card, getTargetCard())) { && (CardFactoryUtil.canTarget(card, getTargetCard()) || !Tgt[0] )) {
final Card[] creature = new Card[1]; final Card[] creature = new Card[1];
if(Tgt[0] == true) creature[0] = getTargetCard(); if(Tgt[0] == true) creature[0] = getTargetCard();
else creature[0] = card; else creature[0] = card;