Fixed drop chance multiplier by item id.

This commit is contained in:
MobiusDev
2017-10-04 01:09:16 +00:00
parent ed4be650f8
commit 2c61857b12
10 changed files with 176 additions and 16 deletions

View File

@@ -517,7 +517,7 @@ public class NpcViewMod implements IBypassHandler
sb.append("</td></tr><tr><td width=48 align=right valign=top><font color=\"LEVEL\">Chance:</font></td>");
sb.append("<td width=205 align=center>");
sb.append(chanceFormat.format(Math.min(generalDropItem.getChance(), 100)));
sb.append(chanceFormat.format(Math.min(generalDropItem.getChance(npc, activeChar), 100)));
sb.append("%</td></tr></table></td></tr><tr><td width=32></td><td width=259>&nbsp;</td></tr></table>");
height += 64;