public class SimpleSkills extends ClientAccessor<ClientContext>
Modifier and Type | Class and Description |
---|---|
static class |
SimpleSkills.Skill |
ctx
Constructor and Description |
---|
SimpleSkills(ClientContext ctx) |
Modifier and Type | Method and Description |
---|---|
int |
getExperience(int index)
returns your experience in the specified skill with index={index}
|
int |
getExperience(SimpleSkills.Skill skill)
returns your experience in the specified {skill}
|
int |
getExperienceAt(int level)
will return the experience needed for {level}
|
int |
getLevel(int index)
returns your boosted level in the specified skill with index={index}
|
int |
getLevel(SimpleSkills.Skill skill)
returns your boosted level in the specified {skill}
|
int |
getLevelAt(int exp)
returns the level if your total exp in a stat was = {exp}
|
int[] |
getLevels()
will return an array of the players boosted levels
|
int |
getRealLevel(int index)
returns your none boosted real level in the specified skill with index={index}
|
int |
getRealLevel(SimpleSkills.Skill skill)
returns your none boosted real level in the specified {skill}
|
int[] |
getRealLevels() |
int |
getRealLevels(int... index) |
int[] |
getSkillExperiences()
will return the players skill's xp array
|
int |
getTotalExperience() |
int |
getTotalLevel() |
boolean |
shouldBoost(SimpleSkills.Skill s) |
public SimpleSkills(ClientContext ctx)
public int getExperience(SimpleSkills.Skill skill)
skill
- public int getExperience(int index)
index
- public int getExperienceAt(int level)
level
- public int[] getSkillExperiences()
public int getLevel(SimpleSkills.Skill skill)
skill
- public int getLevel(int index)
index
- public int getLevelAt(int exp)
exp
- public int[] getLevels()
public int getRealLevel(SimpleSkills.Skill skill)
skill
- public int getRealLevel(int index)
index
- public int getRealLevels(int... index)
public int[] getRealLevels()
public int getTotalLevel()
public int getTotalExperience()
public boolean shouldBoost(SimpleSkills.Skill s)