disc droppers dont spawn at boot
This commit is contained in:
@@ -108,6 +108,10 @@ public enum LootManager {
|
|||||||
mob.level = 60;
|
mob.level = 60;
|
||||||
mob.healthMax = 7500;
|
mob.healthMax = 7500;
|
||||||
mob.setHealth(7500);
|
mob.setHealth(7500);
|
||||||
|
if(mob.firstSpawn) {
|
||||||
|
mob.killCharacter("first spawn");
|
||||||
|
mob.firstSpawn = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -81,6 +81,7 @@ public class Mob extends AbstractIntelligenceAgent {
|
|||||||
private DateTime upgradeDateTime = null;
|
private DateTime upgradeDateTime = null;
|
||||||
private boolean lootSync = false;
|
private boolean lootSync = false;
|
||||||
public int discDelay = 6;
|
public int discDelay = 6;
|
||||||
|
public boolean firstSpawn = true;
|
||||||
|
|
||||||
// New Mobile constructor. Fill in the blanks and then call
|
// New Mobile constructor. Fill in the blanks and then call
|
||||||
// PERSIST.
|
// PERSIST.
|
||||||
|
|||||||
Reference in New Issue
Block a user