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 { @@ -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;

Loading…
Cancel
Save