Browse Source

dropper resists

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

9
src/engine/objects/Mob.java

@ -1083,8 +1083,8 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1083,8 +1083,8 @@ public class Mob extends AbstractIntelligenceAgent {
} catch (Exception e) {
Logger.error(e.getMessage());
}
Resists.calculateResists(this);
if(this.dropper == false)
Resists.calculateResists(this);
}
public void calculateMaxHealthManaStamina() {
@ -1742,17 +1742,12 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1742,17 +1742,12 @@ public class Mob extends AbstractIntelligenceAgent {
for(MobEquipment equipped: this.equip.values()){
if(equipped.getItemBase().isVorg() && this.getMobBaseID() != 14062){
//this.healthMax = 7500;
//this.setHealth(this.healthMax);
//this.level = 65;
this.dropper = true;
this.recalculateStats();
}
}
for(Item item : this.charItemManager.getInventory()){
if(item.getItemBase().isDiscRune() && this.level < 75){
this.dropper = true;
this.recalculateStats();
}
}

Loading…
Cancel
Save