Browse Source

dropper resists

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

7
src/engine/objects/Mob.java

@ -1083,7 +1083,7 @@ public class Mob extends AbstractIntelligenceAgent { @@ -1083,7 +1083,7 @@ public class Mob extends AbstractIntelligenceAgent {
} catch (Exception e) {
Logger.error(e.getMessage());
}
if(this.dropper == false)
Resists.calculateResists(this);
}
@ -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