Class OfficerLevelupPluginImpl
java.lang.Object
com.fs.starfarer.api.impl.campaign.OfficerLevelupPluginImpl
- All Implemented Interfaces:
OfficerLevelupPlugin
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static long[]
static float
static long[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getMaxEliteSkills
(PersonAPI person) int
getMaxLevel
(PersonAPI person) long
getXPForLevel
(int level) static void
pickLevelupSkills
(PersonAPI person, Random random) pickLevelupSkillsV2
(PersonAPI person, Random random) pickLevelupSkillsV3
(PersonAPI person, Random random)
-
Field Details
-
XP_MULT
public static float XP_MULT -
EXPONENT_BEYOND_MAX_SPECIFIED_LEVEL
public static float EXPONENT_BEYOND_MAX_SPECIFIED_LEVEL -
XP_PER_LEVEL
public static long[] XP_PER_LEVEL -
TOTAL_XP_PER_LEVEL
public static long[] TOTAL_XP_PER_LEVEL
-
-
Constructor Details
-
OfficerLevelupPluginImpl
public OfficerLevelupPluginImpl()
-
-
Method Details
-
getXPForLevel
public long getXPForLevel(int level) - Specified by:
getXPForLevel
in interfaceOfficerLevelupPlugin
-
main
-
getMaxLevel
- Specified by:
getMaxLevel
in interfaceOfficerLevelupPlugin
-
getMaxEliteSkills
- Specified by:
getMaxEliteSkills
in interfaceOfficerLevelupPlugin
-
pickLevelupSkillsV2
-
pickLevelupSkillsV3
-
pickLevelupSkills
- Specified by:
pickLevelupSkills
in interfaceOfficerLevelupPlugin
-