- Added some more keywords to damageIfUnblocked in ComputerUtilCombat (AI).

This commit is contained in:
Agetian
2017-05-15 05:03:28 +00:00
parent 0957ce6563
commit 7219c766e5

View File

@@ -190,7 +190,9 @@ public class ComputerUtilCombat {
if (!attacked.getGame().getStaticEffects().getGlobalRuleChange(GlobalRuleChange.noPrevention)) { if (!attacked.getGame().getStaticEffects().getGlobalRuleChange(GlobalRuleChange.noPrevention)) {
if (attacker.hasKeyword("Prevent all damage that would be dealt by CARDNAME.") 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; return 0;
} }
} }