mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- AiAttackController: don't attack into a guaranteed block unless the attacker has some kind of an attack/combat effect.
This commit is contained in:
@@ -1125,6 +1125,12 @@ public class AiAttackController {
|
|||||||
// and combat will have negative effects
|
// and combat will have negative effects
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// We can't kill a single blocker, there is no reason to attack unless we can cripple a
|
||||||
|
// blocker or gain life from attacking or we have some kind of another attack/combat effect
|
||||||
|
if (canKillAllDangerous && !hasAttackEffect && !hasCombatEffect) {
|
||||||
|
canKillAllDangerous = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user