CharStats, CMCommon, CMObject, Modifiable, Deity.DeityWorshipper, java.lang.Cloneable, java.lang.Comparable<CMObject>public class DefaultCharStats extends java.lang.Object implements CharStats
CharStats.CODES| Modifier and Type | Field | Description | 
|---|---|---|
| protected java.lang.String | arriveStr | |
| protected short[] | bodyAlterations | |
| protected int[] | breathables | |
| protected java.lang.String | deityName | |
| protected java.lang.String | displayClassLevel | |
| protected java.lang.String | displayClassName | |
| protected java.lang.String | genderName | |
| protected java.lang.String | leaveStr | |
| protected CharClass[] | myClasses | |
| protected java.lang.Integer[] | myLevels | |
| protected Race | myRace | |
| protected java.util.Map<java.lang.String,java.lang.Integer> | profAdj | |
| protected DoubleFilterer<Item>[] | proficiencies | |
| protected java.lang.String | raceName | |
| protected short[] | stats | |
| protected long | unwearableBitmap | |
| protected java.lang.String | worshipCharID | 
DEFAULT_NUM_STATS, DEFAULT_STAT_ABBR, DEFAULT_STAT_DESC_ATTS, DEFAULT_STAT_DESCS, DEFAULT_STAT_MSG_MAP, DEFAULT_STAT_NAMES, STAT_AGE, STAT_CHARISMA, STAT_CONSTITUTION, STAT_CRIT_CHANCE_PCT_MAGIC, STAT_CRIT_CHANCE_PCT_WEAPON, STAT_CRIT_DAMAGE_PCT_MAGIC, STAT_CRIT_DAMAGE_PCT_WEAPON, STAT_DEXTERITY, STAT_FAITH, STAT_GENDER, STAT_INTELLIGENCE, STAT_MAX_CHARISMA_ADJ, STAT_MAX_CONSTITUTION_ADJ, STAT_MAX_DEXTERITY_ADJ, STAT_MAX_INTELLIGENCE_ADJ, STAT_MAX_STRENGTH_ADJ, STAT_MAX_WISDOM_ADJ, STAT_RECOVERRATE5_ADJ, STAT_SAVE_ACID, STAT_SAVE_BLUNT, STAT_SAVE_CHANTS, STAT_SAVE_COLD, STAT_SAVE_DETECTION, STAT_SAVE_DISEASE, STAT_SAVE_DOUBT, STAT_SAVE_ELECTRIC, STAT_SAVE_FIRE, STAT_SAVE_GAS, STAT_SAVE_GENERAL, STAT_SAVE_JUSTICE, STAT_SAVE_MAGIC, STAT_SAVE_MIND, STAT_SAVE_OVERLOOKING, STAT_SAVE_PARALYSIS, STAT_SAVE_PIERCE, STAT_SAVE_POISON, STAT_SAVE_PRAYERS, STAT_SAVE_SLASH, STAT_SAVE_SONGS, STAT_SAVE_SPELLS, STAT_SAVE_TRAPS, STAT_SAVE_UNDEAD, STAT_SAVE_WATER, STAT_STRENGTH, STAT_WEIGHTADJ, STAT_WISDOM, STAT_XP_ADJ_PCT, VALUE_ALLSTATS_DEFAULTidConverter| Constructor | Description | 
|---|---|
| DefaultCharStats() | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | addItemDeficiency(java.lang.String zapperMask) | Adds a new weapon or armor deficiency, compiling it into
 the deficiency filter. | 
| void | addItemProficiency(java.lang.String zapperMask) | Adds a new weapon or armor proficiency, compiling it into
 the proficiency filter. | 
| void | adjStat(int statNum,
       int value) | Adjusts the value of one of the STAT_ constants, representing attributes,
 saving throws, and max attributes, from the CharStats interface. | 
| void | adjustAbilityAdjustment(java.lang.String ableID,
                       int newValue) | Sets the adjustments to mob abilities, whether proficiency or
 something else numeric. | 
| int | ageCategory() | Returns the age category for this mob, based on the age stat constant stored here. | 
| java.lang.String | ageName() | Returns the string name of the age category for this mob, based on the age
 stat constant stored here. | 
| void | alterBodypart(int racialPartNumber,
             int deviation) | Alter the number of a given body part which this mob has. | 
| java.lang.String | boygirl() | Based on the apparent gender of the mob, return the appropriate word "Boy", "Girl", or "Child". | 
| int | combinedLevels() | |
| int | combinedSubLevels() | Returns the combined number of class levels the mob has in all of his classes,
 except for the current one. | 
| int | compareTo(CMObject o) | |
| void | copyInto(CharStats intoStats) | Copies the internal data of this object into another of kind. | 
| CMObject | copyOf() | Similar to Cloneable.clone(), but does its best to make sure that
 any internal objects to this class are also copyOfed. | 
| java.lang.String | deityName() | Returns the displayable name of this mobs current deity. | 
| java.lang.String | displayClassLevel(MOB mob,
                 boolean shortForm) | Returns a combination of the displayClassName and displayClassLevel for
 the given mob. | 
| java.lang.String | displayClassLevelOnly(MOB mob) | Returns either the given mobs authentic classlevel/total level,
 or the value set through setDisplayClassLevel method. | 
| java.lang.String | displayClassName() | Returns the displayable name of this mobs current class. | 
| java.lang.String | genderName() | Returns the apparent gender of the mob. | 
| int | getAbilityAdjustment(java.lang.String ableID) | Returns the adjustments to mob abilities, whether proficiency or
 something else numeric. | 
| java.lang.String | getArriveStr() | Returns the term seen when a character arrives into a room
 By default, these come from the current
 actual race, unless set to something new. | 
| int | getBodyPart(int racialPartNumber) | Return the number of a given body part which this mob has. | 
| int | getBodypartAlteration(int racialPartNumber) | Check the difference between the number of a given body part which
 this mob has and the number he or she should have. | 
| java.lang.String | getBodyPartsAsString() | Returns the entire current body part situation as a string list. | 
| int[] | getBreathables() | Returns resource codes of what this race can breathe as
 an atmosphere. | 
| java.util.Collection<CharClass> | getCharClasses() | Returns all CharClass objects for this mob. | 
| int | getClassLevel(CharClass aClass) | Returns the number of levels this mob has in the given character class. | 
| int | getClassLevel(java.lang.String aClass) | Returns the number of levels this mob has in the given character class by name. | 
| CharClass | getCurrentClass() | Returns the CharClass object for this mob which corresponds to the
 the final index. | 
| int | getCurrentClassLevel() | Returns the number of levels that this mob has in the CharClass
 object which corresponds to the final index. | 
| DoubleFilterer<Item>[] | getItemProficiencies() | Returns the list of special weapon or armor proficiencies,
 or special detriments, that this character has. | 
| java.lang.String | getLeaveStr() | Returns the term seen when a character leaves a room
 By default, these come from the current
 actual race, unless set to something new. | 
| int | getMaxStat(int abilityCode) | A method that simply calculates the nomimal max of the given
 ordinary stat code from available data. | 
| CharClass | getMyClass(int i) | Returns the CharClass object for this mob which corresponds to the
 the given index. | 
| java.lang.String | getMyClassesStr() | Returns the enumerated set of character class names stored here
 as a semicolon list of string names | 
| Deity | getMyDeity() | Returns the Deity object of the mob that this player/mob worships. | 
| java.lang.String | getMyLevelsStr() | Returns the enumerated set of character class levels stored here
 as a semicolon list of levels. | 
| Race | getMyRace() | Returns the race of the mob. | 
| java.lang.String | getNonBaseStatsAsString() | Get saving throw and max stat info as an semicolon string list. | 
| int | getRacialStat(MOB mob,
             int statNum) | Get one of the basic attributes after racial adjustment. | 
| int | getSave(int which) | Uses the saving throw stats stored here the mob, modified by basic attributes,
 to return a final Saving Throw value for this mob. | 
| int | getSaveStatIndex() | Returns the index into the stat codes array where extra savable fields begins. | 
| int | getStat(int abilityCode) | Get the value of one of the STAT_ constants, representing attributes,
 saving throws, and max attributes, from the CharStats interface. | 
| java.lang.String | getStat(java.lang.String abilityName) | An alternative means of retreiving the values of those fields on this object which are modifiable at
 run-time by builders. | 
| int | getStatCode(java.lang.String abilityName) | This method cross-references the given stat name string with the STAT_DESCS
 string list in the CharStats interface to return the STAT_ constant which
 the given string represents. | 
| java.lang.String[] | getStatCodes() | Returns an array of the string names of those fields which are modifiable on this object at run-time by
 builders. | 
| long | getWearableRestrictionsBitmap() | Returns the sum of local and race-based unwearability codes. | 
| java.lang.String | getWorshipCharID() | Returns the name of the Deity mob that this player/mob worships. | 
| java.lang.String | heshe() | Based on the apparent gender of the mob, return the appropriate word "he", "she", or "it". | 
| java.lang.String | HeShe() | Based on the apparent gender of the mob, return the appropriate word "He", "She", or "It". | 
| java.lang.String | himher() | Based on the apparent gender of the mob, return the appropriate word "him", "her", or "it". | 
| java.lang.String | himherself() | Based on the apparent gender of the mob, return the appropriate word "himself", "herself", or "itself". | 
| java.lang.String | hisher() | Based on the apparent gender of the mob, return the appropriate word "his", "her", or "its". | 
| java.lang.String | hisherself() | Based on the apparent gender of the mob, return the appropriate word "hisself", "herself", or "itself". | 
| java.lang.String | ID() | The CoffeeMud Java Class ID shared by all instances of
 this object. | 
| void | initializeClass() | Called ONCE after all objects are loaded, but before the map is read in
 during initialization. | 
| boolean | isLevelCapped(CharClass C) | Returns true if this user is capped by the given
 classes level cap (if one exists) | 
| boolean | isStat(java.lang.String code) | An alternative means of retreiving the values of those fields on this object which are modifiable at
 run-time by builders. | 
| java.lang.String | manwoman() | Based on the apparent gender of the mob, return the appropriate word "Man", "Woman", or "Man". | 
| java.lang.String | MisterMadam() | Based on the apparent gender of the mob, return the appropriate word "Mister", or "Madam". | 
| java.lang.String | MrMs() | Based on the apparent gender of the mob, return the appropriate word "Mr.", or "Ms.". | 
| java.lang.String | name() | The displayable name of this object. | 
| CMObject | newInstance() | Returns a new instance of this class. | 
| int | numClasses() | Returns the number of character classes that this mob has 0 or more
 levels in. | 
| java.lang.String | raceName() | Returns the displayable name of this mobs current race. | 
| java.lang.String | realGenderName() | Returns the gender of the mob. | 
| char | reproductiveCode() | Based on the gender of the mob, returns M, N, or F, reflective
 of reproductive role. | 
| void | reset() | Resets all the stats in this object to their factory defaults. | 
| void | setAllBaseValues(int def) | Resets all of the basic 1-6 stats in this object, to the same given value | 
| void | setAllValues(int def) | Resets all of the stats in this object, attributes and saves alike, to
 the same given value | 
| void | setArriveLeaveStr(java.lang.String arriveStr,
                 java.lang.String leaveStr) | Changes the terms seen when a character arrives into a room
 and leaves it. | 
| void | setBodyPartsFromStringAfterRace(java.lang.String str) | Sets the body part situation for this mob from a string list. | 
| void | setBreathables(int[] newArray) | Sets resource codes of what this race can breathe as
 an atmosphere. | 
| void | setClassLevel(CharClass aClass,
             int level) | Changes the number of class levels the mob has in the given character class
 to the given level. | 
| void | setCurrentClass(CharClass aClass) | Adds the character class to the mob to the given class, automatically
 making the class level 0, and making the class current. | 
| void | setCurrentClassLevel(int level) | Sets the current class level for the mob to the given level. | 
| void | setDeityName(java.lang.String newDeityName) | Changes the apparent deity of ths mob by setting a new name. | 
| void | setDisplayClassLevel(java.lang.String newLevel) | Changes the apparent level of ths mob by setting a new name. | 
| void | setDisplayClassName(java.lang.String newName) | Changes the apparent char class of ths mob by setting a new name. | 
| void | setGenderName(java.lang.String gname) | Sets the apparent gender of the mob. | 
| void | setItemProficiencies(DoubleFilterer<Item>[] newArray) | Sets the list of special weapon or armor proficiencies,
 or special detriments, that this character has. | 
| void | setMyClasses(java.lang.String classes) | Creates the enumerated set of character class objects stored here
 from a semicolon list of string names | 
| void | setMyLevels(java.lang.String levels) | Creates the enumerated set of character class levels stored here
 from a semicolon list of levels. | 
| void | setMyRace(Race newVal) | Sets the race of the mob. | 
| void | setNonBaseStatsFromString(java.lang.String str) | set saving throw and max stat info from a semicolon string list. | 
| void | setPermanentStat(int abilityCode,
                int value) | Set one of the basic attributes to a given value. | 
| void | setRaceName(java.lang.String newRaceName) | Changes the apparent race of ths mob by setting a new name. | 
| void | setRacialStat(int abilityCode,
             int racialMax) | Set one of the basic attributes to approx the value. | 
| void | setStat(int abilityCode,
       int value) | Set the value of one of the STAT_ constants, representing attributes,
 saving throws, and max attributes, from the CharStats interface. | 
| void | setStat(java.lang.String code,
       java.lang.String val) | An alternative means of setting the values of those fields on this object which are modifiable at
 run-time by builders. | 
| void | setWearableRestrictionsBitmap(long bitmap) | Sets the sum of local and race-based unwearability codes. | 
| void | setWorshipCharID(java.lang.String newVal) | Sets the name of the Deity mob that this player/mob worships. | 
| java.lang.String | sirmadam() | Based on the apparent gender of the mob, return the appropriate word "sir", "madam", or "sir". | 
| java.lang.String | SirMadam() | Based on the apparent gender of the mob, return the appropriate word "Sir", "Madam", or "Sir". | 
| java.lang.String | sondaughter() | Based on the apparent gender of the mob, return the appropriate word "Son", "Daughter", or "Child". | 
protected short[] stats
protected CharClass[] myClasses
protected java.lang.Integer[] myLevels
protected Race myRace
protected java.lang.String raceName
protected java.lang.String genderName
protected java.lang.String displayClassName
protected java.lang.String displayClassLevel
protected java.lang.String worshipCharID
protected java.lang.String deityName
protected short[] bodyAlterations
protected long unwearableBitmap
protected int[] breathables
protected java.lang.String arriveStr
protected java.lang.String leaveStr
protected java.util.Map<java.lang.String,java.lang.Integer> profAdj
protected DoubleFilterer<Item>[] proficiencies
public java.lang.String ID()
CMObjectpublic java.lang.String name()
CMObjectname in interface CMObjectEnvironmental.Name()public CMObject newInstance()
CMObjectnewInstance in interface CMObjectpublic void initializeClass()
CMObjectinitializeClass in interface CMObjectpublic void setAllBaseValues(int def)
CharStatssetAllBaseValues in interface CharStatsdef - the value to set all stats to.public void setAllValues(int def)
CharStatssetAllValues in interface CharStatsdef - the value to set all stats to.public void reset()
CharStatspublic void copyInto(CharStats intoStats)
CharStatspublic void setMyClasses(java.lang.String classes)
CharStatssetMyClasses in interface CharStatsclasses - the semicolon list of character class namespublic void setMyLevels(java.lang.String levels)
CharStatssetMyLevels in interface CharStatslevels - the semicolon list of levelspublic java.lang.String getMyClassesStr()
CharStatsgetMyClassesStr in interface CharStatspublic java.lang.String getMyLevelsStr()
CharStatsgetMyLevelsStr in interface CharStatspublic java.lang.String getArriveStr()
CharStatsgetArriveStr in interface CharStatsRace, 
CharStats.setArriveLeaveStr(String,String)public java.lang.String getLeaveStr()
CharStatsgetLeaveStr in interface CharStatsRace, 
CharStats.setArriveLeaveStr(String,String)public java.lang.String getWorshipCharID()
Deity.DeityWorshippergetWorshipCharID in interface Deity.DeityWorshipperDeity.DeityWorshipper.setWorshipCharID(String), 
Deity.DeityWorshipper.getMyDeity(), 
Deity.DeityWorshipper.setDeityName(String), 
Deity.DeityWorshipper.deityName()public void setWorshipCharID(java.lang.String newVal)
Deity.DeityWorshippersetWorshipCharID in interface Deity.DeityWorshippernewVal - the name of the Deity mob that this player/mob worships.Deity.DeityWorshipper.setWorshipCharID(String), 
Deity.DeityWorshipper.getMyDeity(), 
Deity.DeityWorshipper.deityName()public void setDeityName(java.lang.String newDeityName)
Deity.DeityWorshippersetDeityName in interface Deity.DeityWorshippernewDeityName - the name of the mobs apparent deityDeity.DeityWorshipper.deityName()public java.lang.String deityName()
Deity.DeityWorshipperdeityName in interface Deity.DeityWorshipperDeity.DeityWorshipper.getWorshipCharID(), 
Deity.DeityWorshipper.setWorshipCharID(String), 
Deity.DeityWorshipper.getMyDeity()public Deity getMyDeity()
Deity.DeityWorshippergetMyDeity in interface Deity.DeityWorshipperDeity.DeityWorshipper.getWorshipCharID(), 
Deity.DeityWorshipper.setWorshipCharID(String), 
Deity.DeityWorshipper.deityName()public void setArriveLeaveStr(java.lang.String arriveStr,
                              java.lang.String leaveStr)
CharStatssetArriveLeaveStr in interface CharStatsarriveStr - the arrive stringleaveStr - the leave stringRace, 
CharStats.getArriveStr(), 
CharStats.getLeaveStr()public long getWearableRestrictionsBitmap()
CharStatsgetWearableRestrictionsBitmap in interface CharStatsItempublic void setWearableRestrictionsBitmap(long bitmap)
CharStatssetWearableRestrictionsBitmap in interface CharStatsbitmap - a bitmap of unwearable locationsItempublic int numClasses()
CharStatsnumClasses in interface CharStatspublic int combinedSubLevels()
CharStatscombinedSubLevels in interface CharStatspublic int combinedLevels()
public void setDisplayClassName(java.lang.String newName)
CharStatssetDisplayClassName in interface CharStatsnewName - the name of the mobs apparent current classCharClass, 
CharStats.displayClassName(), 
CharStats.displayClassLevel(MOB, boolean), 
CharStats.displayClassLevelOnly(MOB)public java.lang.String displayClassName()
CharStatsdisplayClassName in interface CharStatsCharClass, 
CharStats.setDisplayClassName(String), 
CharStats.displayClassLevel(MOB, boolean), 
CharStats.displayClassLevelOnly(MOB)public void setDisplayClassLevel(java.lang.String newLevel)
CharStatssetDisplayClassLevel in interface CharStatsnewLevel - the name of the mobs apparent levelCharClass, 
CharStats.displayClassName(), 
CharStats.displayClassLevel(MOB, boolean), 
CharStats.displayClassLevelOnly(MOB), 
CharStats.setDisplayClassName(String)public java.lang.String displayClassLevel(MOB mob, boolean shortForm)
CharStatsdisplayClassLevel in interface CharStatsmob - the mob whose class and overall level to displayshortForm - if true, display only the class and level, no extra wordingCharClass, 
CharStats.displayClassName(), 
CharStats.setDisplayClassName(String), 
CharStats.displayClassLevelOnly(MOB)public java.lang.String displayClassLevelOnly(MOB mob)
CharStatsdisplayClassLevelOnly in interface CharStatsmob - the mob whose class and overall level to displayCharClass, 
CharStats.displayClassName(), 
CharStats.setDisplayClassName(String), 
CharStats.displayClassLevel(MOB, boolean)public java.lang.String getNonBaseStatsAsString()
CharStatsgetNonBaseStatsAsString in interface CharStatspublic void setNonBaseStatsFromString(java.lang.String str)
CharStatssetNonBaseStatsFromString in interface CharStatsstr - semicolon stringpublic void setRaceName(java.lang.String newRaceName)
CharStatssetRaceName in interface CharStatsnewRaceName - the name of the mobs apparent raceRace, 
CharStats.raceName()public java.lang.String raceName()
CharStatsraceName in interface CharStatsRace, 
CharStats.setRaceName(String)public CharClass getMyClass(int i)
CharStatsgetMyClass in interface CharStatsi - the index into the charclass list.CharClasspublic int getClassLevel(java.lang.String aClass)
CharStatsgetClassLevel in interface CharStatsaClass - the name of the Character Class to checkCharClasspublic int getClassLevel(CharClass aClass)
CharStatsgetClassLevel in interface CharStatsaClass - the CharClass object to checkCharClasspublic void setClassLevel(CharClass aClass, int level)
CharStatssetClassLevel in interface CharStatsaClass - the character class to set a level forlevel - the level to set for the given character classCharStats.setCurrentClass(CharClass), 
CharClasspublic boolean isLevelCapped(CharClass C)
CharStatsisLevelCapped in interface CharStatsC - the class to checkCharClass.getLevelCap()public void setCurrentClassLevel(int level)
CharStatssetCurrentClassLevel in interface CharStatslevel - The chararacter class level to set the current class topublic void setCurrentClass(CharClass aClass)
CharStatssetCurrentClass in interface CharStatsaClass - The charclass object to set the current class toCharStats.getCurrentClass(), 
CharClasspublic CharClass getCurrentClass()
CharStatsgetCurrentClass in interface CharStatsCharStats.numClasses(), 
CharStats.getCharClasses(), 
CharClasspublic java.util.Collection<CharClass> getCharClasses()
CharStatsgetCharClasses in interface CharStatsCharStats.numClasses(), 
CharClasspublic int getCurrentClassLevel()
CharStatsgetCurrentClassLevel in interface CharStatsCharStats.numClasses()public Race getMyRace()
CharStatspublic void setMyRace(Race newVal)
CharStatssetMyRace in interface CharStatsnewVal - the Race of the mobRace.startRacing(MOB, boolean), 
Racepublic int[] getBreathables()
CharStatsgetBreathables in interface CharStatsRawMaterial, 
CharStats.setBreathables(int[])public void setBreathables(int[] newArray)
CharStatssetBreathables in interface CharStatsnewArray - a list of resource codes that this race can breatheRawMaterial, 
CharStats.getBreathables()public int getBodyPart(int racialPartNumber)
CharStatsgetBodyPart in interface CharStatsracialPartNumber - the BODY_ constant from Race interfaceRacepublic java.lang.String getBodyPartsAsString()
CharStatsgetBodyPartsAsString in interface CharStatspublic void setBodyPartsFromStringAfterRace(java.lang.String str)
CharStatssetBodyPartsFromStringAfterRace in interface CharStatsstr - the string list representing the body part situationpublic int getBodypartAlteration(int racialPartNumber)
CharStatsgetBodypartAlteration in interface CharStatsracialPartNumber - the BODY_ constant from Race interfaceRacepublic void alterBodypart(int racialPartNumber,
                          int deviation)
CharStatsalterBodypart in interface CharStatsracialPartNumber - the BODY_ constant from Race interfacedeviation - the amount to change by, positive or negativeRacepublic int ageCategory()
CharStatsageCategory in interface CharStatsRacepublic java.lang.String ageName()
CharStatsageName in interface CharStatsRace.AGE_DESCSpublic int getSave(int which)
CharStatspublic CMObject copyOf()
CMObjectpublic int getAbilityAdjustment(java.lang.String ableID)
CharStatsgetAbilityAdjustment in interface CharStatsableID - the ability ID, with an appropriate prefixpublic void adjustAbilityAdjustment(java.lang.String ableID,
                                    int newValue)
CharStatsadjustAbilityAdjustment in interface CharStatsableID - the ability ID, with an appropriate prefixnewValue - the numeric value associated with the adjustment.public void setGenderName(java.lang.String gname)
CharStatssetGenderName in interface CharStatsgname - the name of the mobs gender to displayCharStats.genderName(), 
CharStats.realGenderName()public char reproductiveCode()
CharStatsreproductiveCode in interface CharStatspublic java.lang.String realGenderName()
CharStatsrealGenderName in interface CharStatsCharStats.setGenderName(String)public java.lang.String genderName()
CharStatsgenderName in interface CharStatsCharStats.setGenderName(String)public java.lang.String himher()
CharStatspublic java.lang.String hisher()
CharStatspublic java.lang.String himherself()
CharStatshimherself in interface CharStatspublic java.lang.String hisherself()
CharStatshisherself in interface CharStatspublic java.lang.String heshe()
CharStatspublic java.lang.String sirmadam()
CharStatspublic java.lang.String SirMadam()
CharStatspublic java.lang.String MrMs()
CharStatspublic java.lang.String MisterMadam()
CharStatsMisterMadam in interface CharStatspublic java.lang.String manwoman()
CharStatspublic java.lang.String sondaughter()
CharStatssondaughter in interface CharStatspublic java.lang.String boygirl()
CharStatspublic java.lang.String HeShe()
CharStatspublic int getStat(int abilityCode)
CharStatspublic void setPermanentStat(int abilityCode,
                             int value)
CharStatssetPermanentStat in interface CharStatsabilityCode - which STAT_ constant to get a value forvalue - the value of the given STATCharStatspublic int getMaxStat(int abilityCode)
CharStatsgetMaxStat in interface CharStatsabilityCode - (str, int, etc)public int getRacialStat(MOB mob, int statNum)
CharStatsgetRacialStat in interface CharStatsmob - the mob to get adjustments forstatNum - which STAT_ constant to getCharStatspublic void setRacialStat(int abilityCode,
                          int racialMax)
CharStatssetRacialStat in interface CharStatsabilityCode - which STAT_ constant to get an approx value forracialMax - the value of the max, and approxvalue of the given STATCharStatspublic void setStat(int abilityCode,
                    int value)
CharStatspublic void adjStat(int statNum,
                    int value)
CharStatspublic int getStatCode(java.lang.String abilityName)
CharStatsgetStatCode in interface CharStatsabilityName - name of which constant to determine the STAT_ constant forCharStatspublic int compareTo(CMObject o)
compareTo in interface java.lang.Comparable<CMObject>public int getSaveStatIndex()
ModifiablegetSaveStatIndex in interface ModifiableModifiable.getStatCodes(), 
Modifiable.getStat(String), 
Modifiable.setStat(String, String)public java.lang.String getStat(java.lang.String abilityName)
ModifiablegetStat in interface ModifiableabilityName - the name of the field to read.Modifiable.getStatCodes()public java.lang.String[] getStatCodes()
ModifiablegetStatCodes in interface ModifiableModifiable.getStat(String), 
Modifiable.setStat(String, String)public boolean isStat(java.lang.String code)
ModifiableisStat in interface Modifiablecode - the name of the field to read.Modifiable.getStatCodes()public void setStat(java.lang.String code,
                    java.lang.String val)
ModifiablesetStat in interface Modifiablecode - the name of the field to setval - the value to set the field toModifiable.getStatCodes()public DoubleFilterer<Item>[] getItemProficiencies()
CharStatsgetItemProficiencies in interface CharStatsCharStats.setItemProficiencies(DoubleFilterer[])public void setItemProficiencies(DoubleFilterer<Item>[] newArray)
CharStatssetItemProficiencies in interface CharStatsnewArray - a list of proficiency or deficiency codesCharStats.getItemProficiencies(), 
CharStats.addItemDeficiency(String), 
CharStats.addItemProficiency(String)public void addItemProficiency(java.lang.String zapperMask)
CharStatsaddItemProficiency in interface CharStatszapperMask - the zapper maskCharStats.getItemProficiencies(), 
CharStats.addItemDeficiency(String), 
MaskingLibrarypublic void addItemDeficiency(java.lang.String zapperMask)
CharStatsaddItemDeficiency in interface CharStatszapperMask - the zapper maskCharStats.getItemProficiencies(), 
CharStats.addItemProficiency(String), 
MaskingLibrary