- Disable spell prediction for PumpAi.

This commit is contained in:
Agetian
2014-09-20 07:30:21 +00:00
parent 68f35d3a6f
commit 2abcc7c951

View File

@@ -443,6 +443,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
return false;
}
/* -- currently disabled until better conditions are devised and the spell prediction is made smarter --
// Determine if some mana sources need to be held for the future spell to cast in Main 2 before determining whether to pump.
AiController aic = ((PlayerControllerAi)ai.getController()).getAi();
if (aic.getCardMemory().isMemorySetEmpty(AiCardMemory.MemorySet.HELD_MANA_SOURCES)) {
@@ -452,6 +453,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
aic.reserveManaSourcesForMain2(futureSpell);
}
}
*/
// will the creature attack (only relevant for sorcery speed)?
if (phase.getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS)