mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Added some more keywords to damageIfUnblocked in ComputerUtilCombat (AI).
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user