Browse Source

zone override

birdbane
FatBoy-DOTC 10 months ago
parent
commit
8958f4132f
  1. 2
      src/engine/objects/Mob.java

2
src/engine/objects/Mob.java

@ -195,7 +195,7 @@ public class Mob extends AbstractIntelligenceAgent {
this.loadID = rs.getInt("mob_mobbaseID"); this.loadID = rs.getInt("mob_mobbaseID");
this.gridObjectType = GridObjectType.DYNAMIC; this.gridObjectType = GridObjectType.DYNAMIC;
this.spawnRadius = rs.getFloat("mob_spawnRadius"); this.spawnRadius = rs.getFloat("mob_spawnRadius");
this.spawnTime = rs.getInt("mob_spawnTime"); this.spawnTime = (int)(rs.getInt("mob_spawnTime") * 0.5);
this.parentZone = null; this.parentZone = null;
this.statLat = rs.getFloat("mob_spawnX"); this.statLat = rs.getFloat("mob_spawnX");
this.statAlt = rs.getFloat("mob_spawnY"); this.statAlt = rs.getFloat("mob_spawnY");

Loading…
Cancel
Save