|
|
|
@ -42,6 +42,7 @@ public class HellgateManager {
@@ -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 {
@@ -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 {
@@ -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 {
@@ -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; |
|
|
|
|