hellgates maybe? round 3

This commit is contained in:
2025-03-13 21:06:38 -05:00
parent 49c956d2bf
commit 6080bae50d
+5 -3
View File
@@ -42,6 +42,7 @@ public class HellgateManager {
mob.spawnTime = 1000000000;
mob.BehaviourType = Enum.MobBehaviourType.Aggro;
mob.setLoc(realLoc);
mob.bindLoc = realLoc;
mob.healthMax = 12500;
mob.setHealth(mob.healthMax);
mob.maxDamageHandOne = 1550;
@@ -63,17 +64,17 @@ public class HellgateManager {
continue;
Vector3fImmutable offset = Vector3fImmutable.getRandomPointOnCircle(realLoc,32f);
minion.setLoc(offset);
minion.bindLoc = offset;
minion.setResists(new Resists("Elite"));
minion.spawnTime = 1000000000;
minion.BehaviourType = Enum.MobBehaviourType.Aggro;
minion.setLoc(realLoc);
minion.healthMax = 7500;
minion.setHealth(minion.healthMax);
minion.maxDamageHandOne = 1550;
minion.minDamageHandOne = 750;
minion.atrHandOne = 1800;
minion.defenseRating = 2200;
minion.setFirstName("Hellgate Commander");
minion.setFirstName("Hellgate Soldier");
WorldGrid.addObject(minion,offset.x,offset.z);
InterestManager.setObjectDirty(minion);
WorldGrid.updateObject(minion);
@@ -90,6 +91,7 @@ public class HellgateManager {
if(mob == null)
return;
mob.setLoc(hellgate.parent.getLoc());
mob.bindLoc = hellgate.parent.getLoc();
mob.spawnTime = 1000000000;
mob.setResists(new Resists("Elite"));
WorldGrid.addObject(mob,hellgate.parent.getLoc().x,hellgate.parent.getLoc().z);
@@ -158,7 +160,7 @@ public class HellgateManager {
// Set mob level
mobWithoutID.level = (short) level;
mobWithoutID.bindLoc = spawn;
// Set the parent zone and parentZoneID
mobWithoutID.parentZone = ZoneManager.getZoneByUUID(993);
mobWithoutID.parentZoneID = 993;