- Fix several Un-cards, add a couple AI hints.

This commit is contained in:
Michael Kamensky
2021-03-12 18:38:51 +03:00
parent 4c94930cc7
commit 41bde9aaa6
4 changed files with 5 additions and 2 deletions

View File

@@ -26,6 +26,8 @@ public class RollDiceAi extends SpellAbilityAi {
return game.getCombat() != null && (game.getCombat().isAttacking(source) || game.getCombat().isBlocking(source));
} else if (logic.equals("Main2")) {
return ph.is(PhaseType.MAIN2, aiPlayer);
} else if (logic.equals("AtOppEOT")) {
return ph.getNextTurn() == aiPlayer && ph.is(PhaseType.END_OF_TURN);
}
if (cost != null && (sa.getPayCosts().hasManaCost() || sa.getPayCosts().hasTapCost())) {