- Fixed Phyrexian War Beast computer code.

This commit is contained in:
jendave
2011-08-06 04:16:28 +00:00
parent 63dae9ac52
commit b96f36e11a

View File

@@ -17479,7 +17479,18 @@ public class CardFactory_Creatures {
PlayerZone play = AllZone.getZone(Constant.Zone.Play,player);
CardList choice = new CardList(play.getCards());
choice = choice.getType("Land");
AllZone.InputControl.setInput(CardFactoryUtil.input_sacrifice(ability,choice,"Select a land to sacrifice"));
if (choice.size() > 0)
{
if (player.equals(Constant.Player.Human))
AllZone.InputControl.setInput(CardFactoryUtil.input_sacrifice(ability,choice,"Select a land to sacrifice"));
else //compy
{
//AllZone.GameAction.sacrificePermanent(Constant.Player.Computer, ability, choice);
ability.setTargetCard(choice.get(0));
AllZone.Stack.add(ability);
}
}
}
};