mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Attack AI: Afflict should be considered as a combat effect for the purpose of attacking into non-lethal blockers.
This commit is contained in:
@@ -1060,7 +1060,8 @@ public class AiAttackController {
|
||||
|| "Blocked".equals(attacker.getSVar("HasAttackEffect"));
|
||||
if (!hasCombatEffect) {
|
||||
for (String keyword : attacker.getKeywords()) {
|
||||
if (keyword.equals("Wither") || keyword.equals("Infect") || keyword.equals("Lifelink")) {
|
||||
if (keyword.equals("Wither") || keyword.equals("Infect")
|
||||
|| keyword.equals("Lifelink") || keyword.startsWith("Afflict")) {
|
||||
hasCombatEffect = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user