| Modifier and Type | Field | Description |
|---|---|---|
static int |
ABLETYPE_AFFECTS |
|
static int |
ABLETYPE_AREASEXPLORED |
|
static int |
ABLETYPE_CHARSTATS |
|
static int |
ABLETYPE_COMBAT |
|
static java.lang.String[][] |
ABLETYPE_DESCS |
|
static int |
ABLETYPE_EQUIPMENT |
|
static int |
ABLETYPE_FACTIONS |
|
static int |
ABLETYPE_INVENTORY |
|
static int |
ABLETYPE_LEVELTIMES |
|
static int |
ABLETYPE_OBJECTS |
|
static int |
ABLETYPE_QUESTWINS |
|
static int |
ABLETYPE_ROOMSEXPLORED |
|
static int |
ABLETYPE_SCRIPTS |
|
static int |
ABLETYPE_TATTOOS |
|
static int |
ABLETYPE_TITLES |
|
static int |
ABLETYPE_WORLDEXPLORED |
idConverternameComparator, playerAcodesID, noCoinFilter| Constructor | Description |
|---|---|
Stat() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
addCharStatsChars(CharStats cstats,
int headerWidth,
int numberWidth,
int[] col,
java.lang.StringBuilder str) |
|
protected void |
addCharStatsPhys(PhyStats pstats,
int headerWidth,
int numberWidth,
int[] col,
java.lang.StringBuilder str) |
|
protected void |
addCharStatsState(CharState cstats,
int headerWidth,
int numberWidth,
int[] col,
java.lang.StringBuilder str) |
|
protected void |
addCharThing(int headerWidth,
int numberWidth,
int[] col,
java.lang.StringBuilder str,
java.lang.String title,
java.lang.String val) |
|
int |
averageDamage(MOB M) |
|
boolean |
canBeOrdered() |
Whether a group leader or charmer can order their followers
to do this command.
|
java.lang.String |
doDisposition(int dispositionMask) |
|
java.lang.String |
doSenses(int senseMask) |
|
boolean |
execute(MOB mob,
java.util.List<java.lang.String> commands,
int metaFlags) |
This method actually performs the command, when the given parsed
set of command-line words.
|
java.lang.Object |
executeInternal(MOB mob,
int metaFlags,
java.lang.Object... args) |
This method is used for making "insider" calls to the command.
|
java.lang.String[] |
getAccessWords() |
Returns the set of command words, with the most public one first,
that are entered by the user to initiate this command.
|
protected Item |
getItemTarget(MOB mob,
java.lang.String itemName) |
|
protected MOB |
getMOBTarget(MOB mob,
java.lang.String MOBname) |
|
protected java.lang.String |
getPrivilegedStat(MOB mob,
MOB target,
java.util.List<java.lang.String> commands,
boolean overrideAuthCheck) |
|
MOB |
getTarget(MOB mob,
java.lang.String targetName,
boolean quiet) |
|
void |
recoverMOB(MOB M) |
|
void |
reportOnDiffMOB(Environmental test,
int diff,
java.lang.StringBuilder str) |
|
void |
reportOnDiffMOB(java.lang.String name,
int diff,
java.lang.StringBuilder str) |
|
boolean |
securityCheck(MOB mob) |
Whether this command is available to the given player
|
boolean |
showTableStats(MOB mob,
int days,
int scale,
java.lang.String rest) |
|
void |
testMOB(MOB target,
MOB M,
Environmental test) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAbilities, getAbilities, isDomainIncludedInAnyAbility, isUnique, parseDomainInfo, parsedOutIndividualSkill, parsedOutIndividualSkill, parseOutLevel, parseTypeInfo, pickUniqueFlagactionsCost, canBeCancelled, checkArguments, checkedActionsCost, combatActionsCost, compareTo, copyOf, getArgumentSetIndex, getVisibleRoomTarget, I, ID, initializeClass, isOccupiedWithOtherWork, L, name, newInstance, preExecute, putInCommandlistpublic static final int ABLETYPE_EQUIPMENT
public static final int ABLETYPE_INVENTORY
public static final int ABLETYPE_QUESTWINS
public static final int ABLETYPE_TATTOOS
public static final int ABLETYPE_COMBAT
public static final int ABLETYPE_SCRIPTS
public static final int ABLETYPE_TITLES
public static final int ABLETYPE_ROOMSEXPLORED
public static final int ABLETYPE_AREASEXPLORED
public static final int ABLETYPE_WORLDEXPLORED
public static final int ABLETYPE_FACTIONS
public static final int ABLETYPE_CHARSTATS
public static final int ABLETYPE_LEVELTIMES
public static final int ABLETYPE_AFFECTS
public static final int ABLETYPE_OBJECTS
public static final java.lang.String[][] ABLETYPE_DESCS
public java.lang.String[] getAccessWords()
CommandgetAccessWords in interface CommandgetAccessWords in class Skillspublic java.lang.String doSenses(int senseMask)
public java.lang.String doDisposition(int dispositionMask)
public boolean showTableStats(MOB mob, int days, int scale, java.lang.String rest)
public int averageDamage(MOB M)
protected void addCharStatsChars(CharStats cstats, int headerWidth, int numberWidth, int[] col, java.lang.StringBuilder str)
protected void addCharThing(int headerWidth,
int numberWidth,
int[] col,
java.lang.StringBuilder str,
java.lang.String title,
java.lang.String val)
protected void addCharStatsState(CharState cstats, int headerWidth, int numberWidth, int[] col, java.lang.StringBuilder str)
protected void addCharStatsPhys(PhyStats pstats, int headerWidth, int numberWidth, int[] col, java.lang.StringBuilder str)
protected java.lang.String getPrivilegedStat(MOB mob, MOB target, java.util.List<java.lang.String> commands, boolean overrideAuthCheck) throws java.io.IOException
java.io.IOExceptionpublic boolean execute(MOB mob, java.util.List<java.lang.String> commands, int metaFlags) throws java.io.IOException
Commandexecute in interface Commandexecute in class Skillsmob - the mob or player issueing the commandcommands - usually the command words and parameters; a set of stringsmetaFlags - flags denoting how the command is being executedjava.io.IOException - usually means the player has dropped carrierCommand.actionsCost(MOB, List),
Command.securityCheck(MOB)public void recoverMOB(MOB M)
public void testMOB(MOB target, MOB M, Environmental test)
public void reportOnDiffMOB(java.lang.String name,
int diff,
java.lang.StringBuilder str)
public void reportOnDiffMOB(Environmental test, int diff, java.lang.StringBuilder str)
public java.lang.Object executeInternal(MOB mob, int metaFlags, java.lang.Object... args) throws java.io.IOException
CommandexecuteInternal in interface CommandexecuteInternal in class StdCommandmob - the mob or player issueing the commandmetaFlags - flags denoting how the command is being executedargs - a set of object parametersjava.io.IOException - usually means the player has dropped carrierpublic boolean canBeOrdered()
CommandcanBeOrdered in interface CommandcanBeOrdered in class Skillspublic boolean securityCheck(MOB mob)
CommandsecurityCheck in interface CommandsecurityCheck in class StdCommandmob - the player mob who might not even know about this command