Browse Source

Easy AI

lakebane-easy
FatBoy-DOTC 1 week ago
parent
commit
56226c71eb
  1. 2
      src/engine/mobileAI/BehaviourFiles/PlayerPet.java

2
src/engine/mobileAI/BehaviourFiles/PlayerPet.java

@ -22,7 +22,7 @@ public class PlayerPet {
return; return;
} }
if(!pet.playerAgroMap.contains(pet.getOwner().getObjectUUID())){ if(!WorldGrid.getObjectsInRangePartial(pet.loc, MBServerStatics.CHARACTER_LOAD_RANGE,1).contains(pet.getOwner())){
pet.teleport(pet.getOwner().loc); pet.teleport(pet.getOwner().loc);
return; return;
} }

Loading…
Cancel
Save