mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Disable spell prediction for PumpAi.
This commit is contained in:
@@ -443,6 +443,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
|
|||||||
return false;
|
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.
|
// 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();
|
AiController aic = ((PlayerControllerAi)ai.getController()).getAi();
|
||||||
if (aic.getCardMemory().isMemorySetEmpty(AiCardMemory.MemorySet.HELD_MANA_SOURCES)) {
|
if (aic.getCardMemory().isMemorySetEmpty(AiCardMemory.MemorySet.HELD_MANA_SOURCES)) {
|
||||||
@@ -452,6 +453,7 @@ public abstract class PumpAiBase extends SpellAbilityAi {
|
|||||||
aic.reserveManaSourcesForMain2(futureSpell);
|
aic.reserveManaSourcesForMain2(futureSpell);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
// will the creature attack (only relevant for sorcery speed)?
|
// will the creature attack (only relevant for sorcery speed)?
|
||||||
if (phase.getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS)
|
if (phase.getPhase().isBefore(PhaseType.COMBAT_DECLARE_ATTACKERS)
|
||||||
|
|||||||
Reference in New Issue
Block a user