Take a look at the addXp method itself, I'm pretty sure it has a multiplier that's applied before any others are.
|
Im using extinction v2.0 source and im adding working XP lamps after adding a few I noticed the small xp lamp (attack) gives me 800,000 attack xp when I use it but I am positive it is supposed to give 500 XP and here is the code to show
If (itemId == 23717) {
player.setNextAnimation(new Animation(4352));
player.getInventory().deleteItem(23717, 1);
player.getPackets().sendGameMessage("You received 500 XP from the small attack lamp.")
player.getSkills().addXp(Skills.ATTACK, 500);
return;
}
And in my settings.java I have all my server xp rates set to 1 so I cant make that any lower.
In settings.java it says skill != ATTACK is using Settings.COMBAT_XP_RATE; but the xp rate is set to 1 so idk why its giving 800,000 xp instead of 500.
Any suggestions or answers please reply.
Take a look at the addXp method itself, I'm pretty sure it has a multiplier that's applied before any others are.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |
Tags for this Thread |