From 33789adadcffbdb1bbb2f2815893b916939b6b9b Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Sun, 7 Jul 2024 21:44:20 -0500 Subject: [PATCH] final strongholds update --- src/engine/objects/Mine.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mine.java b/src/engine/objects/Mine.java index 3e26060b..b14754ee 100644 --- a/src/engine/objects/Mine.java +++ b/src/engine/objects/Mine.java @@ -681,12 +681,12 @@ public class Mine extends AbstractGameObject { //update tower to become stronghold mesh tower.setMeshUUID(423600); - tower.setMeshScale(new Vector3f(1.5f,1.5f,1.5f)); + tower.setMeshScale(new Vector3f(1,1,1)); InterestManager.setObjectDirty(tower); WorldGrid.updateObject(tower); //create elite mobs - for(int i = 0; i < 15; i++){ + for(int i = 0; i < 10; i++){ Mob guard = Mob.createMob(14315, Vector3fImmutable.getRandomPointOnCircle(tower.loc,30),Guild.getErrantGuild(),true,mineZone,null,0, "Elite Guardian",65); if(guard != null){ guard.setLevel((short)65); @@ -703,6 +703,8 @@ public class Mine extends AbstractGameObject { this.strongholdMobs.add(guard); LootManager.GenerateStrongholdLoot(guard,false); } + if(guard!= null && guard.level < 60) + guard.despawn(); } //create stronghold commander Mob commander = Mob.createMob(14293, tower.loc,Guild.getErrantGuild(),true,mineZone,null,0, "Guardian Commander",75);