so it would be like
Code:
public boolean rareDrops(Client c, int i) {
if (c.playerRights >=1) {
int rarity = 0;
int npcDropRate = ((Integer)NPCDrops.dropRarity.get(Integer.valueOf(npcs[i].npcType))).intValue();
if(c.playerEquipment[c.playerRing] == 2572 && npcDropRate-3 > 0) {
ringOfWealth = 1+Misc.random(2);
c.sendMessage("Being a Donator has helped you receive a better drop!");
}
rarity = Misc.random(npcDropRate-isDonator);
return rarity == 0;
}
}
and so on
theres still some to change, but its a basic idea.