Browse Source

safe guards dont aggro pets

master
FatBoy-DOTC 1 year ago
parent
commit
915f93dc2d
  1. 3
      src/engine/mobileAI/MobAI.java

3
src/engine/mobileAI/MobAI.java

@ -1025,7 +1025,8 @@ public class MobAI {
if (aggroMob.isGuard()) if (aggroMob.isGuard())
continue; continue;
if(aggroMob.BehaviourType.equals(Enum.MobBehaviourType.Pet1))
continue;
if (mob.getLoc().distanceSquared2D(aggroMob.getLoc()) > sqr(50)) if (mob.getLoc().distanceSquared2D(aggroMob.getLoc()) > sqr(50))
continue; continue;

Loading…
Cancel
Save