SetLoc for stronghold mobs
This commit is contained in:
1 parent
1269031be3
commit
f3041e7549
1 file changed
+3
-4
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user