JavaScript is disabled on your browser.
Method Summary
All Methods Instance Methods Abstract Methods Default Methods
default boolean
Gets the list of
Ability
instances associated with the skill.
Gets the skill description as defined in the locale's messages file.
Gets the skill description as defined in the locale's messages file.
Gets the skill display name as defined in the locale's messages file.
Gets the skill display name as defined in the locale's messages file.
Gets the mana ability associated with the skill.
int
Gets the max level of the skill based on the configuration.
Gets the list of
XpSource
instances for the skill.
Gets the ability that specifically increases XP gain for the skill when leveled up.
boolean
Gets whether the skill is enabled in the configuration.
Gets a fully uppercase String of the skill name without the namespace
Method Details
isEnabled
boolean isEnabled ()
Gets whether the skill is enabled in the configuration. The skill's XP gain, rewards, abilities,
and mana abilities are also disabled for disabled skills.
Returns:
whether the skill is enabled
getAbilities
Gets the list of
Ability
instances associated with the skill. All loaded abilities are returned,
some of which might be disabled.
Returns:
the abilities of the skill
getXpMultiplierAbility
@Nullable
@Nullable Ability getXpMultiplierAbility ()
Gets the ability that specifically increases XP gain for the skill when leveled up.
Returns:
the XP multiplier ability, or null if there is none
getManaAbility
Gets the mana ability associated with the skill.
Returns:
the ManaAbility
, or null if there is none
getSources
Gets the list of
XpSource
instances for the skill. Each XP source is a
different way to gain XP in a skill.
Returns:
the list of XP sources
getMaxLevel
int getMaxLevel ()
Gets the max level of the skill based on the configuration.
Returns:
the max level
getDisplayName
Gets the skill display name as defined in the locale's messages file.
Parameters:
locale
- the locale to get the display name in
Returns:
the display name in the specified locale or in a fallback language
getDisplayName
Gets the skill display name as defined in the locale's messages file.
Parameters:
locale
- the locale to get the display name in
formatted
- if false, formatting will not be applied and will return a raw string
Returns:
the display name in the specified locale or in a fallback language
getDescription
Gets the skill description as defined in the locale's messages file.
Parameters:
locale
- the locale to get the description in
Returns:
the description in the specified locale or in a fallback language
getDescription
Gets the skill description as defined in the locale's messages file.
Parameters:
locale
- the locale to get the description in
formatted
- if false, formatting will not be applied and will return a raw string
Returns:
the description in the specified locale or in a fallback language
name
Gets a fully uppercase String of the skill name without the namespace
Returns:
the skill name in all upper case
equals
default boolean equals (Skill skill)