forked from MagicBane/Server
Variable renamed to conform with json
This commit is contained in:
@@ -352,7 +352,7 @@ public enum LootManager {
|
||||
|
||||
if (ml != null && dropCount < 1) {
|
||||
ml.flags.add(Enum.ItemFlags.Identified);
|
||||
ml.setDurabilityCurrent((short) ((short) ml.durabilityCurrent - ThreadLocalRandom.current().nextInt(5) + 1));
|
||||
ml.setCombat_health_current((short) ((short) ml.combat_health_current - ThreadLocalRandom.current().nextInt(5) + 1));
|
||||
mob.charItemManager.addItemToInventory(ml);
|
||||
dropCount = 1;
|
||||
//break; // Exit on first successful roll.
|
||||
|
||||
Reference in New Issue
Block a user