mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +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")) {
|
if (!"DamageDone".equals(params.get("Event")) || !params.containsKey("PreventionEffect")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
// Immortal Coil prevents the damage but has a similar negative effect
|
||||||
|
if ("Immortal Coil".equals(ca.getName())) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (params.containsKey("ValidSource")
|
if (params.containsKey("ValidSource")
|
||||||
&& !source.isValid(params.get("ValidSource"), ca.getController(), ca)) {
|
&& !source.isValid(params.get("ValidSource"), ca.getController(), ca)) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user