hey. I post it as an answer around a year ago on one topic here but I think it would be worth checking by plugin author and maybe implementing.
So the problem is that xp is counted per hit so if you use jackhammer or chainsaw you get stupid amounts of exp. I made a custom quick fix for that checking what tool is being used and in method levelHandler I'm multiplying the amount of exp by 0.2. It makes these tools giving around the same amount of exp as normal tools do.
I'm posting code fragment from levelHandler method with my addition. consider implementing it in any way, maybe with config options regarding the multiplier and even activating this part.Β
Others if want, can use this code for them own. But be aware, its a custom code fragment and you use it at your own risk :D First and last line of the fragment are exactly the same as in the plugin so just find them and paste this code in their place. Minimum programming knowledge might be required.
var activeItem = player.GetActiveItem();
if(activeItem != null)
{
if(skill == Skills.MINING && Equals(activeItem.info.shortname, "jackhammer"))
{
pointsToGet = (int)(pointsToGet * 0.2);
}
else if(skill == Skills.WOODCUTTING && Equals(activeItem.info.shortname, "chainsaw"))
{
pointsToGet = (int)(pointsToGet * 0.2);
}
}
var xpMultiplier = Convert.ToInt64(playerPrefs.PlayerInfo[player.userID].XPM);
Β