|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.Properties.Property
com.planet_ink.coffee_mud.Abilities.Properties.Prop_CombatAdjuster
public class Prop_CombatAdjuster
| Field Summary | |
|---|---|
protected double[] |
alladj
|
| Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Property |
|---|
affected, amDestroyed, empty, envStats, miscText, savable |
| Constructor Summary | |
|---|---|
Prop_CombatAdjuster()
|
|
| Method Summary | |
|---|---|
java.lang.String |
accountForYourself()
For use by the identify spell, this should return a nice description of any properties incorporated by this effect. |
void |
affectCharState(MOB mob,
CharState maxState)
This method is called by the recoverCharState() method on other MOB objects. |
void |
affectEnvStats(Environmental affectedMOB,
EnvStats affectableStats)
This method is called by the recoverEnvStats() method on other Environmental objects. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
name()
The displayable name of this object. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected double[] alladj
| Constructor Detail |
|---|
public Prop_CombatAdjuster()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class Propertypublic java.lang.String name()
Environmental
name in interface Environmentalname in interface Tickablename in class PropertyEnvironmental.Name()protected int canAffectCode()
Property
canAffectCode in class PropertyAbilitypublic java.lang.String accountForYourself()
Ability
accountForYourself in interface AbilityaccountForYourself in class Property
public void affectEnvStats(Environmental affectedMOB,
EnvStats affectableStats)
StatsAffecting
affectEnvStats in interface StatsAffectingaffectEnvStats in class PropertyaffectedMOB - the host of the EnvStats object being affectedaffectableStats - the particular EnvStats object being affectedEnvStats,
Environmental,
Environmental.baseEnvStats(),
Environmental.envStats(),
Environmental.recoverEnvStats()
public void affectCharState(MOB mob,
CharState maxState)
StatsAffecting
affectCharState in interface StatsAffectingaffectCharState in class Propertymob - the host of the CharState object being affectedmaxState - the particular CharState object being affectedCharState,
MOB,
MOB.baseState(),
MOB.curState(),
MOB.recoverMaxState()public void setMiscText(java.lang.String newMiscText)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class PropertynewMiscText - either an open internal text string, or XML
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||