From 7219c766e56a5565cda495af60ec1806040c1645 Mon Sep 17 00:00:00 2001 From: Agetian Date: Mon, 15 May 2017 05:03:28 +0000 Subject: [PATCH] - Added some more keywords to damageIfUnblocked in ComputerUtilCombat (AI). --- forge-ai/src/main/java/forge/ai/ComputerUtilCombat.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/forge-ai/src/main/java/forge/ai/ComputerUtilCombat.java b/forge-ai/src/main/java/forge/ai/ComputerUtilCombat.java index fb1e477b778..5bbffe026c4 100644 --- a/forge-ai/src/main/java/forge/ai/ComputerUtilCombat.java +++ b/forge-ai/src/main/java/forge/ai/ComputerUtilCombat.java @@ -190,7 +190,9 @@ public class ComputerUtilCombat { if (!attacked.getGame().getStaticEffects().getGlobalRuleChange(GlobalRuleChange.noPrevention)) { if (attacker.hasKeyword("Prevent all damage that would be dealt by CARDNAME.") - || attacker.hasKeyword("Prevent all damage that would be dealt to and by CARDNAME.")) { + || attacker.hasKeyword("Prevent all damage that would be dealt to and by CARDNAME.") + || attacker.hasKeyword("Prevent all combat damage that would be dealt by CARDNAME.") + || attacker.hasKeyword("Prevent all combat damage that would be dealt to and dealt by CARDNAME.")) { return 0; } }