mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- chainDmg not null is already ensured on top
This commit is contained in:
@@ -241,11 +241,9 @@ 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);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// simple targeting when there is no spell chaining plan
|
||||
if (!this.damageTargetAI(ai, sa, dmg, false)) {
|
||||
|
||||
Reference in New Issue
Block a user