diff --git a/Changelog.txt b/Changelog.txt index f7f486f70..a5d83723c 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -19,6 +19,7 @@ Version 1.4.04-dev = Fixed bug where the API would fail if the name of a player's current party is requested when the player isn't in one (Thanks @dualspiral!) = Fixed bug with retrieving a player's party members = Fixed bug which caused an NPE when trying to join the party of a non-existing player or when ptp to a non-existing player + ! Changed config node name for the skill experience modifiers from "Experience.Formula.Multiplier.[Skill]" to "Experience.Formula.Modifier.[Skill]" ! Updated localization files - Removed deprecated functions from API classes. - Removed functions for getting the PlayerProfile - using API classes is preferred, but if not the McMMOPlayer should be used instead diff --git a/src/main/java/com/gmail/nossr50/config/Config.java b/src/main/java/com/gmail/nossr50/config/Config.java index f87b1a3cd..a11391805 100644 --- a/src/main/java/com/gmail/nossr50/config/Config.java +++ b/src/main/java/com/gmail/nossr50/config/Config.java @@ -253,5 +253,5 @@ public class Config extends AutoUpdateConfigLoader { /* XP Formula Multiplier */ public int getFormulaMultiplierCurve() { return config.getInt("Experience.Formula.Curve_Modifier", 20); } - public double getForumulaMultiplier(SkillType skill) { return config.getDouble("Experience.Formula.Multiplier." + StringUtils.getCapitalized(skill.toString())); } + public double getForumulaMultiplier(SkillType skill) { return config.getDouble("Experience.Formula.Modifier." + StringUtils.getCapitalized(skill.toString())); } } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 89b95e8e4..ee85e3505 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -238,6 +238,8 @@ Experience: Gains: Mobspawners: Enabled: false + + # Experience gained in every skill will get multiplied by this value. 1.0 by default, 2.0 means two times as much Multiplier: PVP: 1.0 Global: 1.0 @@ -245,7 +247,9 @@ Experience: Rewards: true Formula: Curve_Modifier: 20 - Multiplier: + + # Experience gained will get divided by these values. 1.0 by default, 2.0 means two times lower + Modifier: Swords: 1.0 Taming: 1.0 Acrobatics: 1.0