From 2ff32d3b9042af2dd1e5a2ebe410d0cf715a7a04 Mon Sep 17 00:00:00 2001 From: Seravy Date: Tue, 13 Feb 2018 03:11:18 +0100 Subject: [PATCH] MIssing ! in the check for nonvigilence creature. --- forge-ai/src/main/java/forge/ai/AiAttackController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge-ai/src/main/java/forge/ai/AiAttackController.java b/forge-ai/src/main/java/forge/ai/AiAttackController.java index e3fe107291f..f497502b85b 100644 --- a/forge-ai/src/main/java/forge/ai/AiAttackController.java +++ b/forge-ai/src/main/java/forge/ai/AiAttackController.java @@ -1085,7 +1085,7 @@ public class AiAttackController { // Is it a creature that has a more valuable ability with a tap cost than what it can do by attacking? if ((attacker.hasSVar("NonCombatPriority")) - && (attacker.hasKeyword("Vigilance"))) { + && (!attacker.hasKeyword("Vigilance"))) { // For each level of priority, enemy has to have life as much as the creature's power // so a priority of 4 means the creature will not attack unless it can defeat that player in 4 successful attacks. // the lower the priroity, the less willing the AI is to use the creature for attacking.