moved createSiegeMob and createGuardMob to the Mob class

This commit is contained in:
2023-04-22 17:16:34 -05:00
parent 8fa20c6f93
commit 38e5081b0e
7 changed files with 195 additions and 192 deletions
-4
View File
@@ -554,10 +554,6 @@ public class MobileFSM {
public static void GuardMinionLogic(Mob mob){
if(mob.despawned){
if(System.currentTimeMillis() > mob.deathTime + (mob.spawnTime * 1000)){
if(mob.getEquipmentSetID() != ((Mob)mob.npcOwner).getEquipmentSetID()){
mob.equipmentSetID = ((Mob)mob.npcOwner).getEquipmentSetID();
mob.runAfterLoad();
}
mob.respawn();
}
return;