Changed config node name for the skill experience modifiers from "Multiplier" to "Modifier"

Because the name was confusing.
This will break config settings, check your config.yml if you have
changed the skill experience modifiers.
This commit is contained in:
TfT_02 2013-03-23 15:18:21 +01:00
parent fa99ebb391
commit 596f2fa78a
3 changed files with 7 additions and 2 deletions

View File

@ -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 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 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 = 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 ! Updated localization files
- Removed deprecated functions from API classes. - 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 - Removed functions for getting the PlayerProfile - using API classes is preferred, but if not the McMMOPlayer should be used instead

View File

@ -253,5 +253,5 @@ public class Config extends AutoUpdateConfigLoader {
/* XP Formula Multiplier */ /* XP Formula Multiplier */
public int getFormulaMultiplierCurve() { return config.getInt("Experience.Formula.Curve_Modifier", 20); } 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())); }
} }

View File

@ -238,6 +238,8 @@ Experience:
Gains: Gains:
Mobspawners: Mobspawners:
Enabled: false 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: Multiplier:
PVP: 1.0 PVP: 1.0
Global: 1.0 Global: 1.0
@ -245,7 +247,9 @@ Experience:
Rewards: true Rewards: true
Formula: Formula:
Curve_Modifier: 20 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 Swords: 1.0
Taming: 1.0 Taming: 1.0
Acrobatics: 1.0 Acrobatics: 1.0