Browse Source

resource stacking bug

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

7
src/engine/objects/Mob.java

@ -1605,6 +1605,13 @@ public class Mob extends AbstractIntelligenceAgent {
this.lastName = this.getContract().getName(); this.lastName = this.getContract().getName();
this.healthMax = this.mobBase.getHealthMax(); this.healthMax = this.mobBase.getHealthMax();
if(this.mobBase.getLevel() > 80){
if(this.getMobBaseID() == 14319){//ithriana
this.healthMax = 5400000;
} else{
this.healthMax = 1500000;
}
}
this.manaMax = 0; this.manaMax = 0;
this.staminaMax = 0; this.staminaMax = 0;
this.setHealth(this.healthMax); this.setHealth(this.healthMax);

Loading…
Cancel
Save