Originally Posted by
Elite IV
Show us where the global var "DROP_RATE" is used. (Besides settings of course, where else is it used?)
There's probably a reason why it's dropping 2x the loot rather than a higher amount of loot.
NPC.java :
Code:
public void sendDrop(final Player player, Drop drop) {
final int size = getSize();
int bonus = 1;
int random = Utils.random(1, 100);
if (World.doubledrops == false) {
bonus = 2;
}
String dropName = ItemDefinitions.getItemDefinitions(drop.getItemId())
.getName().toLowerCase();
Item item = ItemDefinitions.getItemDefinitions(drop.getItemId())
.isStackable() ? new Item(drop.getItemId(),
(drop.getMinAmount() * Settings.DROP_RATE/*bonus*/)
+ Utils.getRandom(drop.getExtraAmount()
* Settings.DROP_RATE/*bonus*/)) : new Item(
drop.getItemId(), drop.getMinAmount()
+ Utils.getRandom(drop.getExtraAmount()));
if (item.getId() == 995) {
player.getInventory().addItemMoneyPouch(item);
return;
}
Settings.java :
Code:
public static int DROP_RATE = 1;