mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
- chainDmg not null is already ensured on top
This commit is contained in:
@@ -241,10 +241,8 @@ public class DamageDealAi extends DamageAiBase {
|
||||
} else {
|
||||
// we are about to decide to play this damage spell; if there's something chained to it, reserve mana for
|
||||
// the second spell so we don't misplay
|
||||
if (chainDmg != null) {
|
||||
AiController aic = ((PlayerControllerAi)ai.getController()).getAi();
|
||||
aic.reserveManaSourcesForNextSpell(chainDmg.getKey(), sa);
|
||||
}
|
||||
AiController aic = ((PlayerControllerAi)ai.getController()).getAi();
|
||||
aic.reserveManaSourcesForNextSpell(chainDmg.getKey(), sa);
|
||||
}
|
||||
} else {
|
||||
// simple targeting when there is no spell chaining plan
|
||||
|
||||
Reference in New Issue
Block a user