guard minion spawning work
This commit is contained in:
1 parent
259025d572
commit
914575a360
2 files changed
+4
-10
No files matched your search
@@ -502,21 +502,17 @@ public class MobileFSM {
|
||||
}
|
||||
if(mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal()){
|
||||
//this is a player slotted guard minion
|
||||
if(mob.isAlive() == false){
|
||||
if(mob.isAlive() == false || mob.despawned){
|
||||
CheckForRespawn(mob);
|
||||
return;
|
||||
}
|
||||
CheckToSendMobHome(mob);
|
||||
if(mob.npcOwner.isAlive() == false){
|
||||
CheckForPlayerGuardAggro(mob);
|
||||
CheckMobMovement(mob);
|
||||
if(mob.getCombatTarget() != null){
|
||||
CheckForAttack(mob);
|
||||
}
|
||||
return;
|
||||
}
|
||||
CheckMobMovement(mob);
|
||||
if(mob.getCombatTarget() != null){
|
||||
CheckMobMovement(mob);
|
||||
CheckForAttack(mob);
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user