Browse Source

negate stronghold mobs from dropping equipment

lakebane-strongholds
FatBoy-DOTC 4 months ago
parent
commit
f825b2baba
  1. 3
      src/engine/gameManager/LootManager.java

3
src/engine/gameManager/LootManager.java

@ -410,6 +410,9 @@ public enum LootManager {
if (mob == null || mob.getSafeZone()) if (mob == null || mob.getSafeZone())
return; // no equipment to drop in safezones return; // no equipment to drop in safezones
if(mob.StrongholdGuardian || mob.StrongholdCommander || mob.StrongholdEpic)
return; // stronghold mobs don't drop equipment
//do equipment here //do equipment here
if (mob.getEquip() != null) { if (mob.getEquip() != null) {
boolean isVorg = false; boolean isVorg = false;

Loading…
Cancel
Save