Browse Source

cleaned up testing code

master
FatBoy-DOTC 2 years ago
parent
commit
ca9a72e338
  1. 4
      src/engine/ai/MobileFSM.java

4
src/engine/ai/MobileFSM.java

@ -564,7 +564,9 @@ public class MobileFSM { @@ -564,7 +564,9 @@ public class MobileFSM {
return;
}
//add default behaviour type
mob.BehaviourType = MobBehaviourType.Aggro;
if(mob.BehaviourType == null){
mob.BehaviourType = MobBehaviourType.Simple;
}
if (mob.isAlive() == false) {
//no need to continue if mob is dead, check for respawn and move on
CheckForRespawn(mob);

Loading…
Cancel
Save