Class Skills

java.lang.Object
org.rspeer.game.component.tdi.Skills

public class Skills extends Object
Provides operations relating to local player stats
See Also:
  • Field Details

  • Constructor Details

    • Skills

      public Skills()
  • Method Details

    • getLevel

      public static int getLevel(Skill skill)
      Parameters:
      skill - The skill
      Returns:
      The base level of the skill
    • getCurrentLevel

      public static int getCurrentLevel(Skill skill)
      Parameters:
      skill - The skill
      Returns:
      The current level. This takes into account boosted or drained stats
    • getExperience

      public static int getExperience(Skill skill)
      Parameters:
      skill - The skill
      Returns:
      The experience in the skill
    • getExperienceToNextLevel

      public static int getExperienceToNextLevel(Skill skill)
      Parameters:
      skill - the skill
      Returns:
      the experience needed for the next level
    • getVirtualLevel

      public static int getVirtualLevel(Skill skill)
    • getLevelAt

      public static int getLevelAt(int xp)
    • getExperienceAt

      public static int getExperienceAt(int deslvl)
      Parameters:
      deslvl - The destination level
      Returns:
      The experience needed to progress to the desired level.
    • getTotalLevel

      public static int getTotalLevel()