hellgates maybe? round 3
parent
49c956d2bf
commit
6080bae50d
|
|
@ -42,6 +42,7 @@ public class HellgateManager {
|
||||||
mob.spawnTime = 1000000000;
|
mob.spawnTime = 1000000000;
|
||||||
mob.BehaviourType = Enum.MobBehaviourType.Aggro;
|
mob.BehaviourType = Enum.MobBehaviourType.Aggro;
|
||||||
mob.setLoc(realLoc);
|
mob.setLoc(realLoc);
|
||||||
|
mob.bindLoc = realLoc;
|
||||||
mob.healthMax = 12500;
|
mob.healthMax = 12500;
|
||||||
mob.setHealth(mob.healthMax);
|
mob.setHealth(mob.healthMax);
|
||||||
mob.maxDamageHandOne = 1550;
|
mob.maxDamageHandOne = 1550;
|
||||||
|
|
@ -63,17 +64,17 @@ public class HellgateManager {
|
||||||
continue;
|
continue;
|
||||||
Vector3fImmutable offset = Vector3fImmutable.getRandomPointOnCircle(realLoc,32f);
|
Vector3fImmutable offset = Vector3fImmutable.getRandomPointOnCircle(realLoc,32f);
|
||||||
minion.setLoc(offset);
|
minion.setLoc(offset);
|
||||||
|
minion.bindLoc = offset;
|
||||||
minion.setResists(new Resists("Elite"));
|
minion.setResists(new Resists("Elite"));
|
||||||
minion.spawnTime = 1000000000;
|
minion.spawnTime = 1000000000;
|
||||||
minion.BehaviourType = Enum.MobBehaviourType.Aggro;
|
minion.BehaviourType = Enum.MobBehaviourType.Aggro;
|
||||||
minion.setLoc(realLoc);
|
|
||||||
minion.healthMax = 7500;
|
minion.healthMax = 7500;
|
||||||
minion.setHealth(minion.healthMax);
|
minion.setHealth(minion.healthMax);
|
||||||
minion.maxDamageHandOne = 1550;
|
minion.maxDamageHandOne = 1550;
|
||||||
minion.minDamageHandOne = 750;
|
minion.minDamageHandOne = 750;
|
||||||
minion.atrHandOne = 1800;
|
minion.atrHandOne = 1800;
|
||||||
minion.defenseRating = 2200;
|
minion.defenseRating = 2200;
|
||||||
minion.setFirstName("Hellgate Commander");
|
minion.setFirstName("Hellgate Soldier");
|
||||||
WorldGrid.addObject(minion,offset.x,offset.z);
|
WorldGrid.addObject(minion,offset.x,offset.z);
|
||||||
InterestManager.setObjectDirty(minion);
|
InterestManager.setObjectDirty(minion);
|
||||||
WorldGrid.updateObject(minion);
|
WorldGrid.updateObject(minion);
|
||||||
|
|
@ -90,6 +91,7 @@ public class HellgateManager {
|
||||||
if(mob == null)
|
if(mob == null)
|
||||||
return;
|
return;
|
||||||
mob.setLoc(hellgate.parent.getLoc());
|
mob.setLoc(hellgate.parent.getLoc());
|
||||||
|
mob.bindLoc = hellgate.parent.getLoc();
|
||||||
mob.spawnTime = 1000000000;
|
mob.spawnTime = 1000000000;
|
||||||
mob.setResists(new Resists("Elite"));
|
mob.setResists(new Resists("Elite"));
|
||||||
WorldGrid.addObject(mob,hellgate.parent.getLoc().x,hellgate.parent.getLoc().z);
|
WorldGrid.addObject(mob,hellgate.parent.getLoc().x,hellgate.parent.getLoc().z);
|
||||||
|
|
@ -158,7 +160,7 @@ public class HellgateManager {
|
||||||
|
|
||||||
// Set mob level
|
// Set mob level
|
||||||
mobWithoutID.level = (short) level;
|
mobWithoutID.level = (short) level;
|
||||||
|
mobWithoutID.bindLoc = spawn;
|
||||||
// Set the parent zone and parentZoneID
|
// Set the parent zone and parentZoneID
|
||||||
mobWithoutID.parentZone = ZoneManager.getZoneByUUID(993);
|
mobWithoutID.parentZone = ZoneManager.getZoneByUUID(993);
|
||||||
mobWithoutID.parentZoneID = 993;
|
mobWithoutID.parentZoneID = 993;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue