From cb4eef9a7bd2bda238c747cd170de8ee1cd22c66 Mon Sep 17 00:00:00 2001 From: bibekaur Date: Wed, 2 Dec 2015 21:39:42 -0800 Subject: [PATCH] Fix for issue #2715 --- .../com/gmail/nossr50/util/experience/FormulaManager.java | 2 +- src/main/resources/experience.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/experience/FormulaManager.java b/src/main/java/com/gmail/nossr50/util/experience/FormulaManager.java index d78d90b3f..e455114fa 100644 --- a/src/main/java/com/gmail/nossr50/util/experience/FormulaManager.java +++ b/src/main/java/com/gmail/nossr50/util/experience/FormulaManager.java @@ -124,7 +124,7 @@ public class FormulaManager { case EXPONENTIAL: 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); } diff --git a/src/main/resources/experience.yml b/src/main/resources/experience.yml index 2cb32528d..c5c5eecc8 100644 --- a/src/main/resources/experience.yml +++ b/src/main/resources/experience.yml @@ -35,8 +35,8 @@ Experience_Formula: base: 1020 multiplier: 20 Exponential_Values: - multiplier: 0.1 - exponent: 1.80 + multiplier: 1 + exponent: 1.05 base: 2000 # Cumulative experience curves will use a players power level instead of their skill level,