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

Loading…
Cancel
Save