Interface AbstractAbility

All Superinterfaces:
NamespaceIdentified
All Known Subinterfaces:
Ability, ManaAbility
All Known Implementing Classes:
Abilities, CustomAbility, CustomManaAbility, ManaAbilities

public interface AbstractAbility extends NamespaceIdentified
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the interval of skill levels between ability level ups.
    int
    Gets the max level of the ability based on the configuration.
    Gets the skill the ability is leveled up by based on the configuration in the skills.yml file.
    int
    Gets the skill level the ability is unlocked at based on the configuration.

    Methods inherited from interface dev.aurelium.auraskills.api.registry.NamespaceIdentified

    getId
  • Method Details

    • getSkill

      Skill getSkill()
      Gets the skill the ability is leveled up by based on the configuration in the skills.yml file.
      Returns:
      the skill the ability belongs to
    • getMaxLevel

      int getMaxLevel()
      Gets the max level of the ability based on the configuration.
      Returns:
      the max level
    • getUnlock

      int getUnlock()
      Gets the skill level the ability is unlocked at based on the configuration.
      Returns:
      the skill level the ability is unlocked at
    • getLevelUp

      int getLevelUp()
      Gets the interval of skill levels between ability level ups. A value of 5 means the ability levels up every 5 levels, starting at the value of getUnlock().
      Returns:
      the level up interval