forked from 2009Scape/Server
Experience multiplier now scales based on the skill level
This slows down the extremely boosted early game while still allowing the multiplier to reduce late-game grind.
This commit is contained in:
parent
6845a3740f
commit
8f55baa13e
1 changed files with 7 additions and 1 deletions
|
|
@ -290,7 +290,13 @@ public final class Skills {
|
|||
private double getExperienceMod(int slot, double experience, boolean playerMod, boolean multiplyer) {
|
||||
//Keywords for people ctrl + Fing the project
|
||||
//xprate xp rate xp multiplier skilling rate
|
||||
return experienceMultiplier;
|
||||
|
||||
//Snowscape Custom: experience multiplier starts at 1x and scales to the selected multiplier as level incrceases
|
||||
double perLevel = (experienceMutiplier-1)/100;
|
||||
double finalMult = staticLevels[slot]*perLevel+1;
|
||||
return finalMult;
|
||||
//return experienceMultiplier;
|
||||
|
||||
/*if (!(entity instanceof Player)) {
|
||||
return 1.0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue