mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Fix for issue #2715
This commit is contained in:
parent
1fb1987267
commit
cb4eef9a7b
@ -124,7 +124,7 @@ public class FormulaManager {
|
|||||||
|
|
||||||
case EXPONENTIAL:
|
case EXPONENTIAL:
|
||||||
if (!experienceNeededExponential.containsKey(level)) {
|
if (!experienceNeededExponential.containsKey(level)) {
|
||||||
experience = (int) Math.floor(multiplier * Math.pow(level, exponent) + base);
|
experience = (int) Math.floor(multiplier * Math.pow(exponent, level) * base);
|
||||||
experienceNeededExponential.put(level, experience);
|
experienceNeededExponential.put(level, experience);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -35,8 +35,8 @@ Experience_Formula:
|
|||||||
base: 1020
|
base: 1020
|
||||||
multiplier: 20
|
multiplier: 20
|
||||||
Exponential_Values:
|
Exponential_Values:
|
||||||
multiplier: 0.1
|
multiplier: 1
|
||||||
exponent: 1.80
|
exponent: 1.05
|
||||||
base: 2000
|
base: 2000
|
||||||
|
|
||||||
# Cumulative experience curves will use a players power level instead of their skill level,
|
# Cumulative experience curves will use a players power level instead of their skill level,
|
||||||
|
Loading…
Reference in New Issue
Block a user