diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 6147aaec..2f432a95 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -317,6 +317,12 @@ public class MobileFSM { } if (mob.despawned && mob.isPlayerGuard) { //override for guards + if(mob.BehaviourType.ordinal() == Enum.MobBehaviourType.GuardMinion.ordinal()){ + if(mob.npcOwner.isAlive() == false || ((Mob)mob.npcOwner).despawned == true){ + //minions don't respawn while guard captain is dead + return; + } + } CheckForRespawn(mob); //check to send mob home for player guards to prevent exploit of dragging guards away and then teleporting CheckToSendMobHome(mob);