- Hack to stop AI from auto-fizzling against Reality Smasher

This commit is contained in:
excessum
2016-03-14 14:28:43 +00:00
parent 664e6bd9d4
commit 5ed37f11dc

View File

@@ -359,7 +359,8 @@ public class ComputerUtil {
} }
// try everything when about to die // try everything when about to die
if (game.getPhaseHandler().getPhase().equals(PhaseType.COMBAT_DECLARE_BLOCKERS) if ("Reality Smasher".equals(activate.getName()) ||
game.getPhaseHandler().getPhase().equals(PhaseType.COMBAT_DECLARE_BLOCKERS)
&& ComputerUtilCombat.lifeInSeriousDanger(ai, game.getCombat())) { && ComputerUtilCombat.lifeInSeriousDanger(ai, game.getCombat())) {
if (!typeList.isEmpty()) { if (!typeList.isEmpty()) {
return ComputerUtilCard.getWorstAI(typeList); return ComputerUtilCard.getWorstAI(typeList);