From f992caba3cf6f2197536e61406f31359402a3149 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sat, 24 Feb 2024 22:37:36 -0600 Subject: [PATCH] zone override --- src/engine/mobileAI/MobAI.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index b4543321..303e6749 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -1030,7 +1030,10 @@ public class MobAI { } public static void GuardCaptainLogic(Mob mob) { - + if(mob.guardedCity.getBane() == null){ + CheckMobMovement(mob); + return; + } try { if (mob.getCombatTarget() == null) CheckForPlayerGuardAggro(mob); @@ -1054,7 +1057,10 @@ public class MobAI { } public static void GuardMinionLogic(Mob mob) { - + if(mob.guardedCity.getBane() == null){ + CheckMobMovement(mob); + return; + } try { boolean isComanded = mob.npcOwner.isAlive(); if (!isComanded) {