Browse Source

Lore Guard AI Aggro

combat-2
FatBoy-DOTC 8 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 {
try { try {
if (ConfigManager.MB_RULESET.getValue().equals("LORE")) { 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); hamletGuardAggro(mob);
else if (!mob.getCombatTarget().isAlive()) else if (!mob.getCombatTarget().isAlive())
hamletGuardAggro(mob); hamletGuardAggro(mob);
} else { } else {
//safehold guard //safehold guard
if (mob.getCombatTarget() == null) if (mob.getCombatTarget() == null || !mob.combatTarget.isAlive())
safeGuardAggro(mob); safeGuardAggro(mob);
else if (!mob.getCombatTarget().isAlive()) else if (!mob.getCombatTarget().isAlive())
safeGuardAggro(mob); safeGuardAggro(mob);

Loading…
Cancel
Save