SetLoc for stronghold mobs

This commit is contained in:
2024-07-08 20:53:23 -05:00
parent 1269031be3
commit f3041e7549
@@ -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;