mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Removed a superfluous isAI check, handled inside getDamagingSAToChain.
This commit is contained in:
@@ -226,7 +226,7 @@ public class DamageDealAi extends DamageAiBase {
|
||||
Pair<SpellAbility, Integer> chainDmg = getDamagingSAToChain(ai, sa, damage);
|
||||
|
||||
// test what happens if we chain this to another damaging spell
|
||||
if (chainDmg != null && ai.getController().isAI()) {
|
||||
if (chainDmg != null) {
|
||||
int extraDmg = chainDmg.getValue();
|
||||
boolean willTargetIfChained = this.damageTargetAI(ai, sa, dmg + extraDmg, false);
|
||||
if (!willTargetIfChained) {
|
||||
|
||||
Reference in New Issue
Block a user