forked from MagicBane/Server
safehold guard exclusion from equipment dropping
This commit is contained in:
@@ -330,6 +330,8 @@ public enum LootManager {
|
|||||||
|
|
||||||
public static void GenerateEquipmentDrop(Mob mob) {
|
public static void GenerateEquipmentDrop(Mob mob) {
|
||||||
|
|
||||||
|
if(mob.behaviourType.equals(Enum.MobBehaviourType.HamletGuard))
|
||||||
|
return; // safehold guards don't drop their equipment
|
||||||
//do equipment here
|
//do equipment here
|
||||||
int dropCount = 0;
|
int dropCount = 0;
|
||||||
if (mob.getEquip() != null)
|
if (mob.getEquip() != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user