mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
- Fixed AI giving up against Immortal Coil.
This commit is contained in:
@@ -1863,6 +1863,10 @@ public class ComputerUtilCombat {
|
||||
if (!"DamageDone".equals(params.get("Event")) || !params.containsKey("PreventionEffect")) {
|
||||
continue;
|
||||
}
|
||||
// Immortal Coil prevents the damage but has a similar negative effect
|
||||
if ("Immortal Coil".equals(ca.getName())) {
|
||||
continue;
|
||||
}
|
||||
if (params.containsKey("ValidSource")
|
||||
&& !source.isValid(params.get("ValidSource"), ca.getController(), ca)) {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user