From 4f01da368c4752bc1306ee4f6e420dc3b6f49e01 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 14 May 2024 18:49:30 -0500 Subject: [PATCH] Lore Guard AI Aggro --- src/engine/mobileAI/MobAI.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 187e9946..9391ce6f 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -949,14 +949,15 @@ public class MobAI { try { if (ConfigManager.MB_RULESET.getValue().equals("LORE")) { - if (mob.getCombatTarget() == null) + //lore guard aggro to kill members of opposing charters + if (mob.getCombatTarget() == null || !mob.combatTarget.isAlive()) hamletGuardAggro(mob); else if (!mob.getCombatTarget().isAlive()) hamletGuardAggro(mob); } else { //safehold guard - if (mob.getCombatTarget() == null) + if (mob.getCombatTarget() == null || !mob.combatTarget.isAlive()) safeGuardAggro(mob); else if (!mob.getCombatTarget().isAlive()) safeGuardAggro(mob);