|
|||||||||
Atavism Version 2018.1 | AGIS API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatavism.agis.core.AgisSkill
public class AgisSkill
Field Summary | |
---|---|
static AgisSkill |
NullSkill
|
Constructor Summary | |
---|---|
AgisSkill()
|
|
AgisSkill(int id,
java.lang.String name)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
|
int |
getBaseExpThreshold()
-Experience system component- Returns the default max experience required before increasing this skills level. |
int |
getDefaultAbility()
|
int |
getExperiencePerUse()
-Experience system component- Returns the amount of experience to be gained after a successful use of this skill. |
int |
getID()
|
int |
getLevel(int xp)
returns the level you have in this skill if you have the xp passed in |
int |
getLevelCostMultiplier()
|
LevelingMap |
getLevelingMap()
|
int |
getMaxRank()
-Experience system component- Returns the max possible rank for this skill. |
java.lang.String |
getName()
|
int |
getSkillCostMultiplier()
|
int |
hashCode()
|
void |
setBaseExpThreshold(int max)
-Experience system component- Sets the default max experience required to increase the skills level. |
void |
setDefaultAbility(int ability)
|
void |
setExperiencePerUse(int xp)
-Experience system component- Sets the amount of experience that should be gained after a successful use of this skill. |
void |
setID(int id)
|
void |
setLevelCostMultiplier(int c)
each level costs 1000 xp |
void |
setLevelingMap(LevelingMap lm)
|
void |
setMaxRank(int rank)
-Experience system component- Sets the max possible rank for this skill. |
void |
setName(java.lang.String name)
|
void |
setSkillCostMultiplier(int c)
|
java.lang.String |
toString()
|
int |
xpRequired(int level)
returns the amount of total xp required to be at level 'skillLevel' for this skill |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static AgisSkill NullSkill
Constructor Detail |
---|
public AgisSkill()
public AgisSkill(int id, java.lang.String name)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setID(int id)
public int getID()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setSkillCostMultiplier(int c)
public int getSkillCostMultiplier()
public void setLevelCostMultiplier(int c)
public int getLevelCostMultiplier()
public int xpRequired(int level)
public int getLevel(int xp)
public void setDefaultAbility(int ability)
public int getDefaultAbility()
public int getExperiencePerUse()
public void setExperiencePerUse(int xp)
NOTE: Skill increases are meant to be minimal since there will generally be many abilities increasing the skill level.
public void setLevelingMap(LevelingMap lm)
public LevelingMap getLevelingMap()
public int getBaseExpThreshold()
public void setBaseExpThreshold(int max)
public int getMaxRank()
public void setMaxRank(int rank)
|
Copyright © 2018 Dragonsan Studios Sp. z o.o. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |