Browse Source

SetLoc for stronghold mobs

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
f3041e7549
  1. 7
      src/engine/gameManager/StrongholdManager.java

7
src/engine/gameManager/StrongholdManager.java

@ -77,10 +77,6 @@ public class StrongholdManager { @@ -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 { @@ -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;

Loading…
Cancel
Save