Browse Source

fixed scourge mother vorg drops

lakebane-master
FatBoy-DOTC 8 months ago
parent
commit
5bfeafe8bf
  1. 2
      src/engine/gameManager/LootManager.java
  2. 2
      src/engine/objects/Mob.java

2
src/engine/gameManager/LootManager.java

@ -393,7 +393,7 @@ public enum LootManager {
dropCount = 1; dropCount = 1;
//break; // Exit on first successful roll. //break; // Exit on first successful roll.
} }
if(ml != null && genericIB.isVorg()){ if(ml != null && genericIB.isVorg() && mob.getMobBaseID() != 14062){
ml.setIsID(true); ml.setIsID(true);
ml.setDurabilityCurrent(ml.getDurabilityMax()); ml.setDurabilityCurrent(ml.getDurabilityMax());
mob.getCharItemManager().addItemToInventory(ml); mob.getCharItemManager().addItemToInventory(ml);

2
src/engine/objects/Mob.java

@ -1738,7 +1738,7 @@ public class Mob extends AbstractIntelligenceAgent {
} }
for(MobEquipment equipped: this.equip.values()){ for(MobEquipment equipped: this.equip.values()){
if(equipped.getItemBase().isVorg()){ if(equipped.getItemBase().isVorg() && this.getMobBaseID() != 14062){
this.healthMax = 7500; this.healthMax = 7500;
this.setHealth(this.healthMax); this.setHealth(this.healthMax);
this.level = 65; this.level = 65;

Loading…
Cancel
Save