|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface Faction.FZapFactor
A factor defines how modifications of faction value, up or down, are modified on a mob by mob basis.
Faction.addFactor(double, double, String),
Faction.factors()| Method Summary | |
|---|---|
MaskingLibrary.CompiledZMask |
compiledMOBMask()
The compiled mask to tell which mobs to apply this factor to |
double |
gainFactor()
Get the gain factor (0-1) |
double |
lossFactor()
Set the loss factor (0-1) |
java.lang.String |
MOBMask()
The mask to tell which mobs to apply this factor to |
void |
setGainFactor(double val)
Set the gain factor (0-1) |
void |
setLossFactor(double val)
Set the loss factor (0-1) |
void |
setMOBMask(java.lang.String str)
Set the mask to determine which mobs in the players presence will be affected. |
java.lang.String |
toString()
Returns a semicolon-delimited string of the values of this factpr, suitable for using to create a new one later. |
| Method Detail |
|---|
double gainFactor()
setGainFactor(double)void setGainFactor(double val)
val - the gain factor (0-1)gainFactor()double lossFactor()
setGainFactor(double)void setLossFactor(double val)
val - the loss factor (0-1)gainFactor()java.lang.String MOBMask()
setMOBMask(String)MaskingLibrary.CompiledZMask compiledMOBMask()
setMOBMask(String)void setMOBMask(java.lang.String str)
str - the mask to determine which mobs in the players presence will be affectedMaskingLibrary,
MOBMask()java.lang.String toString()
toString in class java.lang.ObjectFaction.addFactor(double,double,String)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||