Skill

enum Skill

A skill listed in the skills tab

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun getActualLevel(): Int
Gets the actual skill level based on exp, not including boosts/stat changes
Link copied to clipboard
open fun getCurrentLevel(): Int
Gets the current skill level, accounting for boosts/stat changes
Link copied to clipboard
Gets the exp needed to reach the next level
Link copied to clipboard
Gets the total exp to the next level (the exp for the next level - the exp for the current level)
Link copied to clipboard
open fun getXp(): Int
Gets the current exp gained in this skill
Link copied to clipboard
Gets the percent until the next level
Link copied to clipboard
open fun hover(): Boolean
Hovers the skill in the skills tab
Link copied to clipboard
Link copied to clipboard
open fun valueOf(name: String): Skill

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
open fun values(): Array<Skill>

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.