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