- Fixed targeting AI of AF DealDamage for drawbacks.

This commit is contained in:
Sloth
2011-12-18 13:34:23 +00:00
parent d23927ecee
commit c83a9ebff2

View File

@@ -585,7 +585,7 @@ public class AbilityFactoryDealDamage {
// because we can // because we can
else if (tgt.canTgtPlayer() && ((AllZone.getPhase().is(Constant.Phase.END_OF_TURN) else if (tgt.canTgtPlayer() && ((AllZone.getPhase().is(Constant.Phase.END_OF_TURN)
&& AllZone.getPhase().isNextTurn(AllZone.getComputerPlayer())) && AllZone.getPhase().isNextTurn(AllZone.getComputerPlayer()))
|| saMe.isTrigger())) { || saMe.getPayCosts() == null)) {
if (tgt.addTarget(AllZone.getHumanPlayer())) { if (tgt.addTarget(AllZone.getHumanPlayer())) {
continue; continue;
} }