From 915f93dc2d58b75c600d064d9c7107ab80971d02 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 6 Aug 2023 17:11:22 -0500 Subject: [PATCH] safe guards dont aggro pets --- src/engine/mobileAI/MobAI.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/mobileAI/MobAI.java b/src/engine/mobileAI/MobAI.java index 582c6aee..2da3065a 100644 --- a/src/engine/mobileAI/MobAI.java +++ b/src/engine/mobileAI/MobAI.java @@ -1025,7 +1025,8 @@ public class MobAI { if (aggroMob.isGuard()) continue; - + if(aggroMob.BehaviourType.equals(Enum.MobBehaviourType.Pet1)) + continue; if (mob.getLoc().distanceSquared2D(aggroMob.getLoc()) > sqr(50)) continue;