From f3041e75495e9d6068993a92fb6361f3ceb95f6e Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Mon, 8 Jul 2024 20:53:23 -0500 Subject: [PATCH] SetLoc for stronghold mobs --- src/engine/gameManager/StrongholdManager.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/engine/gameManager/StrongholdManager.java b/src/engine/gameManager/StrongholdManager.java index d6da2c24..5f397454 100644 --- a/src/engine/gameManager/StrongholdManager.java +++ b/src/engine/gameManager/StrongholdManager.java @@ -77,10 +77,6 @@ public class StrongholdManager { InterestManager.setObjectDirty(guard); mine.strongholdMobs.add(guard); LootManager.GenerateStrongholdLoot(guard,false); - } - if(guard!= null && guard.level < 60) { - guard.despawn(); - }else{ guard.healthMax = 12500; guard.setHealth(guard.healthMax); guard.maxDamageHandOne = 1550; @@ -88,6 +84,9 @@ public class StrongholdManager { guard.atrHandOne = 1800; guard.defenseRating = 2200; } + if(guard!= null && guard.healthMax != 12500) { + guard.despawn(); + } } //create stronghold commander Vector3fImmutable loc = tower.loc;