- AI will no longer play Ball Lightning and friends when his combat phase will be skipped.

This commit is contained in:
Sloth
2014-10-28 21:36:23 +00:00
parent 65c2fd5298
commit 5f499f6af9

View File

@@ -753,7 +753,8 @@ public class AiController {
// Prevent the computer from summoning Ball Lightning type creatures after attacking
if (card.hasSVar("EndOfTurnLeavePlay")
&& (game.getPhaseHandler().isPlayerTurn(player.getOpponent())
|| game.getPhaseHandler().getPhase().isAfter(PhaseType.COMBAT_DECLARE_ATTACKERS))) {
|| game.getPhaseHandler().getPhase().isAfter(PhaseType.COMBAT_DECLARE_ATTACKERS)
|| player.hasKeyword("Skip your next combat phase."))) {
return AiPlayDecision.AnotherTime;
}