|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ExpLevelLibrary
| Method Summary | |
|---|---|
int |
adjustedExperience(MOB mob,
MOB victim,
int amount)
|
java.lang.StringBuffer |
baseLevelAdjuster(MOB mob,
int adjuster)
|
MOB |
fillOutMOB(CharClass C,
int level)
This method fills in combat and rejuvination related stats for the given mob of the given class at the given level. |
MOB |
fillOutMOB(MOB mob,
int level)
This method fills in combat and rejuvination related stats for the given mob of their current base class at the given level. |
void |
gainExperience(MOB mob,
MOB victim,
java.lang.String homage,
int amount,
boolean quiet)
Called whenever a player actually gains any experience. |
int |
getLevelAttack(MOB mob)
Returns the amount of combat prowess the given mob would have being their current base class. |
int |
getLevelExperience(int level)
Returns how much experience a player must have to be the given level. |
int |
getLevelMana(MOB mob)
Returns the amount of mana the given mob would have being their current base class. |
int |
getLevelMOBArmor(MOB mob)
Returns the armor rating the given mob would have being their current base class. |
int |
getLevelMOBDamage(MOB mob)
Returns the amount of damage per hit the given mob would have being their current base class. |
double |
getLevelMOBSpeed(MOB mob)
Returns the number of attacks the given mob would have being their current base class. |
int |
getLevelMove(MOB mob)
Returns the amount of movement the given mob would have being their current base class. |
int |
getPlayerHitPoints(MOB mob)
Returns the amount of hp the given player would have being their current base class. |
void |
handleExperienceChange(CMMsg msg)
|
void |
level(MOB mob)
|
void |
loseExperience(MOB mob,
int amount)
Called whenever a member of this class loses any experience. |
boolean |
postExperience(MOB mob,
MOB victim,
java.lang.String homage,
int amount,
boolean quiet)
|
void |
unLevel(MOB mob)
|
| Methods inherited from interface com.planet_ink.coffee_mud.Libraries.interfaces.CMLibrary |
|---|
activate, getSupportThread, propertiesLoaded, shutdown |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
|---|
copyOf, ID, initializeClass, newInstance |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
int getLevelExperience(int level)
level - the level to base the exp on
void handleExperienceChange(CMMsg msg)
int adjustedExperience(MOB mob,
MOB victim,
int amount)
boolean postExperience(MOB mob,
MOB victim,
java.lang.String homage,
int amount,
boolean quiet)
java.lang.StringBuffer baseLevelAdjuster(MOB mob,
int adjuster)
void level(MOB mob)
void unLevel(MOB mob)
MOB fillOutMOB(MOB mob,
int level)
mob - the mob to fill out, or nulllevel - the level of the mob
MOB fillOutMOB(CharClass C,
int level)
C - the class to use.level - the level of the mob
int getPlayerHitPoints(MOB mob)
mob - the mob who would be this class
int getLevelMana(MOB mob)
mob - the mob who would be this class
double getLevelMOBSpeed(MOB mob)
mob - the mob who would be this class
int getLevelMove(MOB mob)
mob - the mob who would be this class
int getLevelAttack(MOB mob)
mob - the mob who would be this class
int getLevelMOBArmor(MOB mob)
mob - the mob who would be this class
int getLevelMOBDamage(MOB mob)
mob - the mob who would be this class
void gainExperience(MOB mob,
MOB victim,
java.lang.String homage,
int amount,
boolean quiet)
mob - the mob to distribute experience tovictim - the mob killed, if any, to cause the experience gainhomage - the name, if any, of another mob whose gain experience is causing this gainamount - the amount of experience to gainquiet - true if no messages should be givenlevel(MOB)
void loseExperience(MOB mob,
int amount)
mob - the mob to take experience away fromamount - the amount of experience to take awayunLevel(MOB)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||