Browse Source

safehold guard exclusion from equipment dropping

feature-region-set
FatBoy-DOTC 1 year ago
parent
commit
41a83115be
  1. 2
      src/engine/gameManager/LootManager.java

2
src/engine/gameManager/LootManager.java

@ -330,6 +330,8 @@ public enum LootManager { @@ -330,6 +330,8 @@ public enum LootManager {
public static void GenerateEquipmentDrop(Mob mob) {
if(mob.behaviourType.equals(Enum.MobBehaviourType.HamletGuard))
return; // safehold guards don't drop their equipment
//do equipment here
int dropCount = 0;
if (mob.getEquip() != null)

Loading…
Cancel
Save