Package de.Keyle.MyPet.api
Class MyPetGlobal.LevelSystem.Curve
java.lang.Object
de.Keyle.MyPet.api.MyPetGlobal.LevelSystem.Curve
- Enclosing class:
MyPetGlobal.LevelSystem
Tunable parameters for the built-in
Linear/Power/Exponential XP curves.-
Field Summary
FieldsModifier and TypeFieldDescriptionExperience needed for level 2 under theExponentialcurve.Cost multiplier per level under theExponentialcurve.Experience each level costs under theLinearcurve.How sharply cost accelerates under thePowercurve.Scales the wholePowercurve. -
Method Summary
-
Field Details
-
LINEAR_BASE
Experience each level costs under theLinearcurve.MyPet.LevelSystem.Curve.Linear.Base-- default17.0. -
POWER_FACTOR
Scales the wholePowercurve.MyPet.LevelSystem.Curve.Power.Factor-- default7.0. -
POWER_EXPONENT
How sharply cost accelerates under thePowercurve.1.0behaves likeLinear.MyPet.LevelSystem.Curve.Power.Exponent-- default1.5. -
EXPONENTIAL_BASE
Experience needed for level 2 under theExponentialcurve.MyPet.LevelSystem.Curve.Exponential.Base-- default10.0. -
EXPONENTIAL_GROWTH
Cost multiplier per level under theExponentialcurve.1.1makes each level cost 10% more than the last.MyPet.LevelSystem.Curve.Exponential.Growth-- default1.1.
-