|
|||||||||
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)
|
Command |
deferCommandCheck(MOB mob,
Command C,
java.util.List<java.lang.String> cmds)
|
java.lang.String |
doBaseLevelAdjustment(MOB mob,
int adjuster)
|
MOB |
fillOutMOB(CharClass C,
int level)
This method fills in combat and rejuvenation 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 rejuvenation 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. |
void |
gainRPExperience(MOB mob,
MOB target,
java.lang.String homageMessage,
int amount,
boolean quiet)
|
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 |
getLevelExperienceJustThisLevel(int level)
Returns how much experience a player must gain at this level to advance to the next. |
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. |
double[] |
getLevelMoneyRange(MOB mob)
Returns the range of money 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 |
handleRPExperienceChange(CMMsg msg)
|
void |
level(MOB mob)
|
void |
loseExperience(MOB mob,
int amount)
Called whenever a member of this class loses any experience. |
void |
loseRPExperience(MOB mob,
int amount)
|
boolean |
postExperience(MOB mob,
MOB victim,
java.lang.String homage,
int amount,
boolean quiet)
|
boolean |
postExperienceToAllAboard(Physical possibleShip,
int amount)
If the given item is a boardable, this method will post the given amount of experience to all abord. |
boolean |
postRPExperience(MOB mob,
MOB target,
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, getServiceClient, L, propertiesLoaded, shutdown |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, ID, initializeClass, name, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
int getLevelExperience(int level)
level
- the level to base the exp on
int getLevelExperienceJustThisLevel(int level)
level
- the level to check at
void handleExperienceChange(CMMsg msg)
void handleRPExperienceChange(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.String doBaseLevelAdjustment(MOB mob, int adjuster)
void level(MOB mob)
void unLevel(MOB mob)
void loseRPExperience(MOB mob, int amount)
void gainRPExperience(MOB mob, MOB target, java.lang.String homageMessage, int amount, boolean quiet)
boolean postRPExperience(MOB mob, MOB target, java.lang.String homage, int amount, boolean quiet)
Command deferCommandCheck(MOB mob, Command C, java.util.List<java.lang.String> cmds)
boolean postExperienceToAllAboard(Physical possibleShip, int amount)
possibleShip
- the ship to give experience toamount
- amount of experience to give to each person found
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[] getLevelMoneyRange(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 |