Browse Source

Lore Guard AI Aggro

combat-2
FatBoy-DOTC 6 months ago
parent
commit
4f01da368c
  1. 5
      src/engine/mobileAI/MobAI.java

5
src/engine/mobileAI/MobAI.java

@ -949,14 +949,15 @@ public class MobAI { @@ -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);

Loading…
Cancel
Save