CMCommon
, Social
, CMObject
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, StatsAffecting
, Tickable
, java.lang.Cloneable
, java.lang.Comparable<CMObject>
public class DefaultSocial extends java.lang.Object implements Social
Social.SocialFlag
Modifier and Type | Field | Description |
---|---|---|
protected boolean |
amDestroyed |
|
protected java.lang.String |
failedTargetMsg |
|
protected java.util.Set<Social.SocialFlag> |
flags |
|
protected boolean |
isTargetable |
|
protected int |
othersCode |
|
protected java.lang.String |
othersSeeMsg |
|
protected java.lang.String |
socialArg |
|
protected java.lang.String |
socialBaseName |
|
protected java.lang.String |
socialFullID |
|
protected java.lang.String |
socialFullTail |
|
protected java.lang.String |
socialTarget |
|
protected java.lang.String |
soundFile |
|
protected int |
sourceCode |
|
protected java.lang.String |
sourceMsg |
|
protected int |
targetCode |
|
protected java.lang.String |
targetSeesMsg |
|
protected java.lang.String |
zapperMask |
|
protected MaskingLibrary.CompiledZMask |
zMask |
idConverter
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Constructor | Description |
---|---|
DefaultSocial() |
Modifier and Type | Method | Description |
---|---|---|
double |
actionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this social.
|
void |
affectCharState(MOB affectedMob,
CharState affectableMaxState) |
This method is called by the recoverCharState() method on other MOB objects.
|
void |
affectCharStats(MOB affectedMob,
CharStats affectableStats) |
This method is called by the recoverCharStats() method on other MOB objects.
|
void |
affectPhyStats(Physical affected,
PhyStats affectableStats) |
This method is called by the recoverPhyStats() method on other Environmental objects.
|
boolean |
amDestroyed() |
Whether the destroy() method has been previousy called on this object.
|
java.lang.String |
argumentName() |
Argument name is the social's optional remaining argument.
|
protected boolean |
awardRPXP(MOB mob) |
|
java.lang.String |
baseName() |
Base name is the name of the social's command word.
|
double |
checkedActionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this social.
|
protected void |
cloneFix(Social E) |
|
double |
combatActionsCost(MOB mob,
java.util.List<java.lang.String> cmds) |
Returns the number of actions required to completely
activate this social.
|
int |
compareTo(CMObject o) |
|
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 |
description() |
The basic description of this object, as shown when the item is directly LOOKed at.
|
void |
destroy() |
Utterly and permanently destroy this object, not only removing it from the map, but
causing this object to be collected as garbage by Java.
|
java.lang.String |
displayText() |
Gets the raw string used to show what this object looks like in the room.
|
void |
executeMsg(Environmental myHost,
CMMsg msg) |
The general message event handler for the object.
|
long |
expirationDate() |
If this object expires, it should have a timestamp saying when it expires, in real time.
|
protected int |
getCodeNum(java.lang.String code) |
|
java.lang.String |
getCriteriaZappermask() |
Gets the zapper mask for whether a mob meets the critera necessary
to use this social at the moment.
|
java.lang.String |
getEncodedLine() |
Returns the encoded social line.
|
java.lang.String |
getFailedTargetMessage() |
See_when_no_target: what the player sees when this social is used targeted, but
the target is not available.
|
java.util.Set<Social.SocialFlag> |
getFlags() |
Returns the readable/writeable flag set for this social.
|
int |
getOthersCode() |
The official CoffeeMud message code used as the others code for this social,
which reflects what the player appears to be doing.
|
java.lang.String |
getOthersMessage() |
Third_party_sees: what everyone but the player and their target
sees when a player uses this social.
|
int |
getSaveStatIndex() |
Returns the index into the stat codes array where extra savable fields begins.
|
java.lang.String |
getSoundFile() |
Returns the name of the MSP sound file associated with this social.
|
int |
getSourceCode() |
The official CoffeeMud message code used as the source code for this social,
which reflects what the player is doing.
|
java.lang.String |
getSourceMessage() |
You_see: what the player themself sees when they use this social.
|
java.lang.String |
getStat(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[] |
getStatCodes() |
Returns an array of the string names of those fields which are modifiable on this object at run-time by
builders.
|
int |
getTargetCode() |
The official CoffeeMud message code used as the target code for this social,
which reflects what is being done to the target.
|
java.lang.String |
getTargetDesc() |
Returns a friendly description of the target, including any argument
|
java.lang.String |
getTargetMessage() |
Target_sees: what the target of this social sees when social is used on them.
|
int |
getTickStatus() |
A coded status for this object during the period where
its tick method is being called.
|
java.lang.String |
ID() |
The CoffeeMud Java Class ID shared by all instances of
this object.
|
java.lang.String |
image() |
Returns the fully qualified and determined name of the image file displayed for this
object when MXP is used.
|
void |
initializeClass() |
Called ONCE after all objects are loaded, but before the map is read in
during initialization.
|
boolean |
invoke(MOB mob,
java.util.List<java.lang.String> commands,
Physical target,
boolean auto) |
Executes this social by the given mob, using the target provided, with
help from the provided command line strings in a vector,
and with override message code flag.
|
protected boolean |
invokeIntern(MOB mob,
java.util.List<java.lang.String> commands,
Physical targetP,
boolean auto) |
|
boolean |
isGeneric() |
Whether the fields of this item are set in code, or set by builders.
|
boolean |
isSavable() |
Whether, if this object is in a room, whether it is appropriate to save this object to
the database as a permanent feature of its container.
|
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.
|
boolean |
isTargetable() |
Returns whether targetName is an -NAME> code, meaning it is targettable
at a person or mob or something.
|
java.lang.String |
L(java.lang.String str,
java.lang.String... xs) |
Localize an internal string -- shortcut.
|
CMMsg |
makeChannelMsg(MOB mob,
int channelInt,
java.lang.String channelName,
java.util.List<java.lang.String> commands,
boolean makeTarget) |
Manufactures a proper channel message that represents executing this
social over a public chat channel.
|
CMMsg |
makeMessage(MOB mob,
java.lang.String str,
java.lang.String end,
int srcMask,
int fullCode,
java.util.List<java.lang.String> commands,
java.lang.String I3channelName,
boolean makeTarget) |
Manufactures a proper message that represents executing this social as an action
|
int |
maxRange() |
the modified maximum range of this object, if applicable.
|
boolean |
meetsCriteriaToUse(MOB mob) |
Returns whether the given mob meets the criteria necessary to use
this social at this time.
|
int |
minRange() |
the modified minimum range of this object, if applicable.
|
java.lang.String |
miscTextFormat() |
Unimplemented as of yet, but will hold a string telling the system what
the proper format of any miscText data.
|
java.lang.String |
name() |
The nice displayable name of this instance of this object
|
java.lang.String |
Name() |
The raw unmodified name of this object as stored in the database.
|
CMObject |
newInstance() |
Returns a new instance of this class.
|
boolean |
okMessage(Environmental myHost,
CMMsg msg) |
The general message event previewer for the object.
|
java.lang.String |
rawImage() |
Returns the raw name of the image file to display for this object when MXP is used.
|
boolean |
sameAs(Environmental E) |
Whether this object instance is functionally identical to the object passed in.
|
void |
setCriteriaZappermask(java.lang.String mask) |
Sets the zapper mask for whether a mob meets the critera necessary
to use this social at the moment.
|
void |
setDescription(java.lang.String str) |
Sets the basic description of this object, as shown when the item is directly LOOKed at.
|
void |
setDisplayText(java.lang.String str) |
Sets the raw string used to show what this object looks like in the room.
|
void |
setExpirationDate(long time) |
If this object expires, it should have a timestamp saying when it expires, in real time.
|
void |
setFailedMessage(java.lang.String str) |
See_when_no_target: what the player sees when this social is used targeted, but
the target is not available.
|
void |
setImage(java.lang.String newImage) |
Sets the raw name of the image file to display for this object when MXP is used.
|
void |
setMiscText(java.lang.String newMiscText) |
For objects which have false for their isGeneric method, this is used to set any internally
coded strings to change the nature or behavior of the object.
|
void |
setName(java.lang.String newName) |
Sets the raw unmodified name of this object as stored in the database.
|
void |
setOthersCode(int code) |
Sets the official CoffeeMud message code used as the others code for this social,
which reflects what the player appears to be doing.
|
void |
setOthersMessage(java.lang.String str) |
Third_party_sees: what everyone but the player and their target
sees when a player uses this social.
|
void |
setSavable(boolean truefalse) |
Sets whether this object can be saved as a permanent aspect of
its host.
|
void |
setSoundFile(java.lang.String newFile) |
Sets the name of the MSP sound file associated with this social.
|
void |
setSourceCode(int code) |
Sets the official CoffeeMud message code used as the source code for this social,
which reflects what the player is doing.
|
void |
setSourceMessage(java.lang.String str) |
You_see: what the player themself sees when they use this social.
|
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 |
setTargetCode(int code) |
Sets the official CoffeeMud message code used as the target code for this social,
which reflects what is being done to the target.
|
void |
setTargetMessage(java.lang.String str) |
Target_sees: what the target of this social sees when social is used on them.
|
java.lang.String |
tailName() |
Tail name is the full remainder of the social's target AND optional argument(s).
|
boolean |
targetable(Environmental E) |
Whether this social variation can be targeted.
|
java.lang.String |
targetName() |
Target name is the social's target argument only, such as <T-NAME>.
|
java.lang.String |
text() |
For objects which have false for their isGeneric method, this is used to set any internally
coded strings to change the nature or behavior of the object.
|
boolean |
tick(Tickable ticking,
int tickID) |
this is the method which is called periodically by the threading engine.
|
protected java.lang.String socialFullID
protected java.lang.String socialFullTail
protected java.lang.String socialBaseName
protected java.lang.String socialTarget
protected boolean isTargetable
protected java.lang.String socialArg
protected java.lang.String sourceMsg
protected java.lang.String othersSeeMsg
protected java.lang.String targetSeesMsg
protected java.lang.String failedTargetMsg
protected java.lang.String soundFile
protected java.lang.String zapperMask
protected MaskingLibrary.CompiledZMask zMask
protected int sourceCode
protected int othersCode
protected int targetCode
protected java.util.Set<Social.SocialFlag> flags
protected boolean amDestroyed
public java.lang.String ID()
CMObject
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
Environmental.Name()
public java.lang.String Name()
Environmental
Name
in interface Environmental
Tickable.name()
public java.lang.String baseName()
Social
public java.lang.String tailName()
Social
public boolean isTargetable()
Social
isTargetable
in interface Social
public java.lang.String targetName()
Social
targetName
in interface Social
public java.lang.String argumentName()
Social
argumentName
in interface Social
public java.lang.String L(java.lang.String str, java.lang.String... xs)
Environmental
L
in interface Environmental
str
- the string to translatexs
- the array of variables to replaceCall with the string to translate, which may contain variables of the form @x1, @x2, etc. The array in xs
is then used to replace the variables AFTER the string is translated.
public java.lang.String getTargetDesc()
Social
getTargetDesc
in interface Social
public void setName(java.lang.String newName)
Environmental
setName
in interface Environmental
newName
- the raw base name of this object on the map.Environmental.Name()
public java.lang.String getSourceMessage()
Social
getSourceMessage
in interface Social
Social.setSourceMessage(String)
public java.lang.String getOthersMessage()
Social
getOthersMessage
in interface Social
Social.setOthersMessage(String)
public java.lang.String getTargetMessage()
Social
getTargetMessage
in interface Social
Social.setTargetMessage(String)
public java.lang.String getFailedTargetMessage()
Social
getFailedTargetMessage
in interface Social
Social.setFailedMessage(String)
public int getSourceCode()
Social
getSourceCode
in interface Social
Social.setSourceCode(int)
,
CMMsg.MSG_SPEAK
,
CMMsg.MSG_HANDS
,
CMMsg.MSG_NOISE
,
CMMsg.MSG_NOISYMOVEMENT
public int getOthersCode()
Social
getOthersCode
in interface Social
Social.setOthersCode(int)
,
CMMsg.MSG_SPEAK
,
CMMsg.MSG_HANDS
,
CMMsg.MSG_NOISE
,
CMMsg.MSG_NOISYMOVEMENT
,
CMMsg.MSG_OK_VISUAL
public int getTargetCode()
Social
getTargetCode
in interface Social
Social.setTargetCode(int)
,
CMMsg.MSG_SPEAK
,
CMMsg.MSG_HANDS
,
CMMsg.MSG_NOISE
,
CMMsg.MSG_NOISYMOVEMENT
,
CMMsg.MSG_OK_VISUAL
public void setSourceMessage(java.lang.String str)
Social
setSourceMessage
in interface Social
str
- what the player themself sees when they use this social.Social.getSourceMessage()
public void setOthersMessage(java.lang.String str)
Social
setOthersMessage
in interface Social
str
- the string everyone else seesSocial.getOthersMessage()
public void setTargetMessage(java.lang.String str)
Social
setTargetMessage
in interface Social
str
- what the target of this social sees when social is used on themSocial.getTargetMessage()
public void setFailedMessage(java.lang.String str)
Social
setFailedMessage
in interface Social
str
- the string seen by the player when the target has leftSocial.getFailedTargetMessage()
public void setSourceCode(int code)
Social
setSourceCode
in interface Social
code
- the CMMsg social code, fully formedSocial.getSourceCode()
,
CMMsg.MSG_SPEAK
,
CMMsg.MSG_HANDS
,
CMMsg.MSG_NOISE
,
CMMsg.MSG_NOISYMOVEMENT
public void setOthersCode(int code)
Social
setOthersCode
in interface Social
code
- the CMMsg social code, fully formedSocial.getOthersCode()
,
CMMsg.MSG_SPEAK
,
CMMsg.MSG_HANDS
,
CMMsg.MSG_NOISE
,
CMMsg.MSG_NOISYMOVEMENT
,
CMMsg.MSG_OK_VISUAL
public void setTargetCode(int code)
Social
setTargetCode
in interface Social
code
- the CMMsg social code, fully formedSocial.getTargetCode()
,
CMMsg.MSG_SPEAK
,
CMMsg.MSG_HANDS
,
CMMsg.MSG_NOISE
,
CMMsg.MSG_NOISYMOVEMENT
,
CMMsg.MSG_OK_VISUAL
public int getTickStatus()
Tickable
getTickStatus
in interface Tickable
Tickable.tick(Tickable, int)
public java.lang.String getSoundFile()
Social
getSoundFile
in interface Social
Social.setSoundFile(String)
public void setSoundFile(java.lang.String newFile)
Social
setSoundFile
in interface Social
newFile
- the msp sound file nameSocial.getSoundFile()
public long expirationDate()
Expireable
expirationDate
in interface Expireable
Expireable.setExpirationDate(long)
public void setExpirationDate(long time)
Expireable
setExpirationDate
in interface Expireable
time
- the time stamp when this thing expiresExpireable.expirationDate()
public boolean targetable(Environmental E)
Social
targetable
in interface Social
E
- The object to check to see if this is targetable against.Environmental.Name()
protected boolean awardRPXP(MOB mob)
public boolean meetsCriteriaToUse(MOB mob)
Social
meetsCriteriaToUse
in interface Social
mob
- the mob to checkpublic void setCriteriaZappermask(java.lang.String mask)
Social
setCriteriaZappermask
in interface Social
mask
- the zapper mask to usepublic java.lang.String getCriteriaZappermask()
Social
getCriteriaZappermask
in interface Social
public boolean invoke(MOB mob, java.util.List<java.lang.String> commands, Physical target, boolean auto)
Social
protected boolean invokeIntern(MOB mob, java.util.List<java.lang.String> commands, Physical targetP, boolean auto)
public CMMsg makeChannelMsg(MOB mob, int channelInt, java.lang.String channelName, java.util.List<java.lang.String> commands, boolean makeTarget)
Social
makeChannelMsg
in interface Social
mob
- the mob doing the socialchannelInt
- the channel int representing which chat channelchannelName
- the channel name of the chat channelcommands
- the commands as a string vector entered by the usermakeTarget
- true to create a fake target, or false to find a real one.CMMsg
,
Social.makeMessage(MOB, String, String, int, int, List, String, boolean)
public CMMsg makeMessage(MOB mob, java.lang.String str, java.lang.String end, int srcMask, int fullCode, java.util.List<java.lang.String> commands, java.lang.String I3channelName, boolean makeTarget)
Social
makeMessage
in interface Social
mob
- the mob doing the socialstr
- the str an optional "header" string for the msg, usually mxp relatedend
- the end an optional "trailer" string for the msg, usually mxp relatedsrcMask
- the src mask to logically OR with the generated message source codefullCode
- the override target and others code from the one in this socialcommands
- the commands as a string vector entered by the userI3channelName
- the i3channel name or null if n/amakeTarget
- true to manufacture a target, or false to use a real oneCMMsg
,
Social.makeChannelMsg(MOB, int, String, List, boolean)
public java.lang.String description()
Environmental
description
in interface Environmental
public void setDescription(java.lang.String str)
Environmental
setDescription
in interface Environmental
str
- the basic detail description of this objectpublic java.lang.String displayText()
Environmental
displayText
in interface Environmental
public void setDisplayText(java.lang.String str)
Environmental
setDisplayText
in interface Environmental
str
- the string describing how this object looks in the roompublic java.lang.String getEncodedLine()
Social
getEncodedLine
in interface Social
public CMObject newInstance()
CMObject
newInstance
in interface CMObject
public void initializeClass()
CMObject
initializeClass
in interface CMObject
public int compareTo(CMObject o)
compareTo
in interface java.lang.Comparable<CMObject>
public void destroy()
Contingent
destroy
in interface Contingent
public boolean amDestroyed()
Contingent
amDestroyed
in interface Contingent
public boolean isSavable()
Contingent
isSavable
in interface Contingent
public void setSavable(boolean truefalse)
Contingent
setSavable
in interface Contingent
truefalse
- whether this behavior can be saved as part of its host.Contingent.isSavable()
public int getSaveStatIndex()
Modifiable
getSaveStatIndex
in interface Modifiable
Modifiable.getStatCodes()
,
Modifiable.getStat(String)
,
Modifiable.setStat(String, String)
public java.lang.String[] getStatCodes()
Modifiable
getStatCodes
in interface Modifiable
Modifiable.getStat(String)
,
Modifiable.setStat(String, String)
public boolean isStat(java.lang.String code)
Modifiable
isStat
in interface Modifiable
code
- the name of the field to read.Modifiable.getStatCodes()
protected int getCodeNum(java.lang.String code)
public java.lang.String getStat(java.lang.String code)
Modifiable
getStat
in interface Modifiable
code
- the name of the field to read.Modifiable.getStatCodes()
public void setStat(java.lang.String code, java.lang.String val)
Modifiable
setStat
in interface Modifiable
code
- the name of the field to setval
- the value to set the field toModifiable.getStatCodes()
public boolean sameAs(Environmental E)
Environmental
sameAs
in interface Environmental
E
- the object to compare this one toModifiable.getStatCodes()
,
Modifiable.getStat(String)
protected void cloneFix(Social E)
public CMObject copyOf()
CMObject
public void setMiscText(java.lang.String newMiscText)
Environmental
setMiscText
in interface Environmental
newMiscText
- either an open internal text string, or XMLpublic java.lang.String text()
Environmental
text
in interface Environmental
public java.lang.String miscTextFormat()
Environmental
miscTextFormat
in interface Environmental
CMParms
,
Environmental.text()
,
Environmental.setMiscText(String)
public void affectPhyStats(Physical affected, PhyStats affectableStats)
StatsAffecting
affectPhyStats
in interface StatsAffecting
affected
- the host of the PhyStats object being affectedaffectableStats
- the particular PhyStats object being affectedPhyStats
,
Environmental
,
Affectable.basePhyStats()
,
Affectable.phyStats()
,
Affectable.recoverPhyStats()
public void affectCharStats(MOB affectedMob, CharStats affectableStats)
StatsAffecting
affectCharStats
in interface StatsAffecting
affectedMob
- the host of the CharStats object being affectedaffectableStats
- the particular CharStats object being affectedCharStats
,
MOB
,
MOB.baseCharStats()
,
MOB.charStats()
,
MOB.recoverCharStats()
public void affectCharState(MOB affectedMob, CharState affectableMaxState)
StatsAffecting
affectCharState
in interface StatsAffecting
affectedMob
- the host of the CharState object being affectedaffectableMaxState
- the particular CharState object being affectedCharState
,
MOB
,
MOB.baseState()
,
MOB.curState()
,
MOB.recoverMaxState()
public void executeMsg(Environmental myHost, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that needs to be executedCMMsg
public boolean okMessage(Environmental myHost, CMMsg msg)
MsgListener
okMessage
in interface MsgListener
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that wants to be executedCMMsg
,
CMMsg.source()
public boolean tick(Tickable ticking, int tickID)
Tickable
tick
in interface Tickable
ticking
- a reference to this Tickable objecttickID
- the TICKID_ constant describing this periodic call, as defined in TickableTickable
,
ServiceEngine
,
TickableGroup
public int maxRange()
Environmental
maxRange
in interface Environmental
public int minRange()
Environmental
minRange
in interface Environmental
public java.lang.String image()
Environmental
image
in interface Environmental
public java.lang.String rawImage()
Environmental
rawImage
in interface Environmental
public void setImage(java.lang.String newImage)
Environmental
setImage
in interface Environmental
newImage
- the raw name of the mxp image filepublic boolean isGeneric()
Environmental
isGeneric
in interface Environmental
Environmental.text()
public double actionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Social
actionsCost
in interface Social
mob
- the mob executing the social, if anycmds
- the parameters to be passed to the social, if anySocial.combatActionsCost(MOB, List)
,
Social.checkedActionsCost(MOB, List)
public double combatActionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Social
combatActionsCost
in interface Social
mob
- the mob executing the social, if anycmds
- the parameters to be passed to the social, if anySocial.actionsCost(MOB, List)
,
Social.checkedActionsCost(MOB, List)
public double checkedActionsCost(MOB mob, java.util.List<java.lang.String> cmds)
Social
checkedActionsCost
in interface Social
mob
- the mob executing the social, if anycmds
- the parameters to be passed to the social, if anySocial.combatActionsCost(MOB, List)
,
Social.actionsCost(MOB, List)
public java.util.Set<Social.SocialFlag> getFlags()
Social