Drop occurrence counter should consider item drop chance.

This commit is contained in:
MobiusDevelopment
2022-04-17 12:04:57 +00:00
parent 6fc3b9073a
commit cf10ace4da
25 changed files with 25 additions and 25 deletions

View File

@@ -855,7 +855,7 @@ public class NpcTemplate extends CreatureTemplate implements IIdentifiable
}
// finally
if (group.getChance() < 100)
if (dropItem.getChance() < 100)
{
dropOccurrenceCounter--;
}