mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
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:
parent
fa99ebb391
commit
596f2fa78a
@ -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
|
||||
|
@ -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())); }
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user