Faction.FReactionItem
public class DefaultFaction.DefaultFactionReactionItem extends java.lang.Object implements Faction.FReactionItem
Constructor | Description |
---|---|
DefaultFactionReactionItem() |
|
DefaultFactionReactionItem(java.lang.String key) |
Modifier and Type | Method | Description |
---|---|---|
MaskingLibrary.CompiledZMask |
compiledPresentMOBMask() |
The compiled mask to tell which mobs to apply this reaction to
|
java.lang.String |
parameters() |
The parameters for the ability/behavior/command above.
|
java.lang.String |
parameters(java.lang.String name) |
The parameters for the ability/behavior/command above returned in
runtime form so that parameters are adjusted with the given name
|
java.lang.String |
presentMOBMask() |
The mask to tell which mobs to apply this reaction to
|
java.lang.String |
rangeCodeName() |
The code name of the range which determines which folks with this faction get a reaction
|
java.lang.String |
reactionObjectID() |
The ability/behavior/command id.
|
void |
setParameters(java.lang.String str) |
Set the parameters for the ability/behavior/command above.
|
void |
setPresentMOBMask(java.lang.String str) |
Set the mask to determine which mobs in the players presence will be affected.
|
void |
setRangeName(java.lang.String str) |
Set the code name of the range which determines which folks with this faction get a reaction
|
void |
setReactionObjectID(java.lang.String str) |
Set the ability/behavior/command id.
|
java.lang.String |
toString() |
Returns a semicolon-delimited string of the values of this reaction, suitable for
using to create a new one later.
|
public DefaultFactionReactionItem()
public DefaultFactionReactionItem(java.lang.String key)
public java.lang.String reactionObjectID()
Faction.FReactionItem
reactionObjectID
in interface Faction.FReactionItem
Faction.FReactionItem.setReactionObjectID(String)
public void setReactionObjectID(java.lang.String str)
Faction.FReactionItem
setReactionObjectID
in interface Faction.FReactionItem
str
- the ability/behavior/command idFaction.FReactionItem.reactionObjectID()
public java.lang.String presentMOBMask()
Faction.FReactionItem
presentMOBMask
in interface Faction.FReactionItem
Faction.FReactionItem.setPresentMOBMask(String)
public void setPresentMOBMask(java.lang.String str)
Faction.FReactionItem
setPresentMOBMask
in interface Faction.FReactionItem
str
- the mask to determine which mobs in the players presence will be affectedMaskingLibrary
,
Faction.FReactionItem.presentMOBMask()
public MaskingLibrary.CompiledZMask compiledPresentMOBMask()
Faction.FReactionItem
compiledPresentMOBMask
in interface Faction.FReactionItem
Faction.FReactionItem.setPresentMOBMask(String)
public java.lang.String rangeCodeName()
Faction.FReactionItem
rangeCodeName
in interface Faction.FReactionItem
Faction.FReactionItem.setRangeName(String)
public void setRangeName(java.lang.String str)
Faction.FReactionItem
setRangeName
in interface Faction.FReactionItem
str
- the range which determines which folks with this faction get a reactionFaction.FReactionItem.rangeCodeName()
public java.lang.String parameters()
Faction.FReactionItem
parameters
in interface Faction.FReactionItem
Faction.FReactionItem.setRangeName(String)
public java.lang.String parameters(java.lang.String name)
Faction.FReactionItem
parameters
in interface Faction.FReactionItem
name
- the name to replace the <TARGET> moniker withFaction.FReactionItem.setRangeName(String)
public void setParameters(java.lang.String str)
Faction.FReactionItem
setParameters
in interface Faction.FReactionItem
str
- the parameters for the ability/behavior/command aboveFaction.FReactionItem.rangeCodeName()
public java.lang.String toString()
Faction.FReactionItem
toString
in interface Faction.FReactionItem
toString
in class java.lang.Object
Faction.addReaction(String, String, String, String)