LootManager cleanup + say message for mobs calling for help

This commit is contained in:
2023-04-15 12:21:31 -05:00
parent c8c275bcd5
commit f75323e7e2
2 changed files with 14 additions and 8 deletions
+2 -2
View File
@@ -112,7 +112,7 @@ public class LootManager {
break;
case "EQUIP":
if (ThreadLocalRandom.current().nextInt(100) <= (bse.dropChance * multiplier) || !fromDeath) {
//early exit, failed to hit minimum chance roll OR booty wasn't generated form mob's death
//early exit, failed to hit minimum chance roll OR booty wasn't generated from mob's death
break;
}
MobLoot equipToAdd = new MobLoot(mob, ItemBase.getItemBase(bse.itemBase), true);
@@ -334,4 +334,4 @@ public class LootManager {
}
}
}
}