From 41a83115be948e9292c505631bc4a5f871ba04e5 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Wed, 13 Sep 2023 22:34:57 -0500 Subject: [PATCH] safehold guard exclusion from equipment dropping --- src/engine/gameManager/LootManager.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/engine/gameManager/LootManager.java b/src/engine/gameManager/LootManager.java index a569324d..96d699b4 100644 --- a/src/engine/gameManager/LootManager.java +++ b/src/engine/gameManager/LootManager.java @@ -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)