Browse Source

disc droppers dont spawn at boot

lakebane-master
fatboy 7 months ago
parent
commit
a6cfe2fb76
  1. 4
      src/engine/gameManager/LootManager.java
  2. 1
      src/engine/objects/Mob.java

4
src/engine/gameManager/LootManager.java

@ -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;
}
} }
} }

1
src/engine/objects/Mob.java

@ -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.

Loading…
Cancel
Save