Browse Source

combat bug fix

lakebane-master
FatBoy-DOTC 10 months ago
parent
commit
c520263179
  1. 7
      src/engine/objects/Mob.java

7
src/engine/objects/Mob.java

@ -156,6 +156,13 @@ public class Mob extends AbstractIntelligenceAgent {
this.currentID = this.dbID; this.currentID = this.dbID;
this.agentType = AIAgentType.MOBILE; this.agentType = AIAgentType.MOBILE;
if(this.getMobBaseID() == 14104) {//guards
this.level = 75;
this.behaviourType = MobBehaviourType.Aggro;
this.healthMax = 15000;
this.setHealth(15000);
}
} catch (Exception e) { } catch (Exception e) {
Logger.error(e + " " + this.dbID); Logger.error(e + " " + this.dbID);
} }

Loading…
Cancel
Save