mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Renamed a method.
This commit is contained in:
@@ -633,7 +633,7 @@ public class AiController {
|
|||||||
return reserveManaSources(sa, PhaseType.MAIN2, false, false, null);
|
return reserveManaSources(sa, PhaseType.MAIN2, false, false, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean reserveManaSourcesTillNextPriority(SpellAbility sa, SpellAbility exceptForSa) {
|
public boolean reserveManaSourcesForNextSpell(SpellAbility sa, SpellAbility exceptForSa) {
|
||||||
return reserveManaSources(sa, null, false, true, exceptForSa);
|
return reserveManaSources(sa, null, false, true, exceptForSa);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -235,7 +235,7 @@ public class DamageDealAi extends DamageAiBase {
|
|||||||
// the second spell so we don't misplay
|
// the second spell so we don't misplay
|
||||||
if (chainDmg != null && ai.getController().isAI()) {
|
if (chainDmg != null && ai.getController().isAI()) {
|
||||||
AiController aic = ((PlayerControllerAi)ai.getController()).getAi();
|
AiController aic = ((PlayerControllerAi)ai.getController()).getAi();
|
||||||
aic.reserveManaSourcesTillNextPriority(chainDmg.getKey(), sa);
|
aic.reserveManaSourcesForNextSpell(chainDmg.getKey(), sa);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user