SkillType

public enum SkillType

Represents the different skill types that players can level up independently. Each skill corresponds to a weapon type or armor, with armor leveling at 1/3 the rate.

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

Properties

Link copied to clipboard
public final String displayName
Link copied to clipboard
public final double xpMultiplier

Functions

Link copied to clipboard
public static SkillType fromMaterial(Material material)
Determines the weapon skill type from a material.
Link copied to clipboard
public static SkillType fromMaterialIncludingArmor(Material material)
Determines the skill type from a material, including armor pieces.
Link copied to clipboard
public String getColumnName()
Gets the database column name for this skill type
Link copied to clipboard
public String getDisplayName()
Link copied to clipboard
public static Array<SkillType> getWeaponSkills()
Link copied to clipboard
public double getXpMultiplier()
Link copied to clipboard
public boolean isWeaponSkill()
Checks if this skill type is a weapon skill (not armor)
Link copied to clipboard
public static SkillType valueOf(String name)

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
public static Array<SkillType> values()

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.