From 62cc334c66721584b943379c3b2d49a76e8402cc Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Tue, 25 Jul 2023 21:42:50 -0500 Subject: [PATCH] guards no longer attack guards --- src/engine/ai/MobileFSM.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 782b5c0c..9ce4d179 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -628,7 +628,7 @@ public class MobileFSM { HashSet awoList = WorldGrid.getObjectsInRangePartial(mob, 100, MBServerStatics.MASK_MOB); for (AbstractWorldObject awoMob : awoList) { //dont scan self. - if (mob.equals(awoMob)) + if (mob.equals(awoMob) || mob.isGuard() == true) continue; Mob aggroMob = (Mob) awoMob; //dont attack other guards