|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.StdAbility
com.planet_ink.coffee_mud.Abilities.Poisons.Poison
com.planet_ink.coffee_mud.Abilities.Poisons.Poison_Rotten
public class Poison_Rotten
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Poisons.Poison |
---|
poisonTick, processing |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
---|
affected, amDestroyed, canBeUninvoked, empty, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
Constructor Summary | |
---|---|
Poison_Rotten()
|
Method Summary | |
---|---|
void |
affectCharStats(MOB affected,
CharStats affectableStats)
This method is called by the recoverCharStats() method on other MOB objects. |
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
protected java.lang.String |
POISON_AFFECT()
|
protected boolean |
POISON_AFFECTTARGET()
|
protected java.lang.String |
POISON_CAST()
|
protected int |
POISON_DAMAGE()
|
protected int |
POISON_DELAY()
|
protected java.lang.String |
POISON_FAIL()
|
protected java.lang.String |
POISON_START_TARGETONLY()
|
protected java.lang.String |
POISON_START()
|
protected int |
POISON_TICKS()
|
java.lang.String[] |
triggerStrings()
A set of the command strings the user types to access this command when it is listed as a skill ability. |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Poisons.Poison |
---|
abstractQuality, canAffectCode, canTargetCode, catchIt, classificationCode, displayText, getHealthConditionDesc, invoke, POISON_DONE, POISON_MAKE_PEACE, putInCommandlist, tick, unInvoke, usageType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Ability |
---|
abilityCode, accountForYourself, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBeLearnedBy, canBePracticedBy, canBeTaughtBy, canBeUninvoked, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, combatCastingTime, enchantQuality, externalFiles, flags, getTrainingCost, helpProficiency, invoke, invoker, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, requirements, setAbilityCode, setAffectedOne, setInvoker, setProficiency, startTickDown, teach, usageCost |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
---|
description, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setMiscText, setName, text |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
---|
getTickStatus |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
---|
affectCharState, affectPhyStats |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
---|
okMessage |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Contingent |
---|
amDestroyed, destroy, isSavable, setSavable |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, initializeClass, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Modifiable |
---|
getSaveStatIndex, getStat, getStatCodes, isStat, setStat |
Constructor Detail |
---|
public Poison_Rotten()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class Poison
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class Poison
Environmental.Name()
public java.lang.String[] triggerStrings()
Ability
triggerStrings
in interface Ability
triggerStrings
in class Poison
Ability.putInCommandlist()
protected int POISON_TICKS()
POISON_TICKS
in class Poison
protected int POISON_DELAY()
POISON_DELAY
in class Poison
protected boolean POISON_AFFECTTARGET()
POISON_AFFECTTARGET
in class Poison
protected java.lang.String POISON_START_TARGETONLY()
POISON_START_TARGETONLY
in class Poison
protected java.lang.String POISON_START()
POISON_START
in class Poison
public void executeMsg(Environmental myHost, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
executeMsg
in class Poison
myHost
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that needs to be executedCMMsg
protected java.lang.String POISON_AFFECT()
POISON_AFFECT
in class Poison
protected java.lang.String POISON_CAST()
POISON_CAST
in class Poison
protected java.lang.String POISON_FAIL()
POISON_FAIL
in class Poison
protected int POISON_DAMAGE()
POISON_DAMAGE
in class Poison
public void affectCharStats(MOB affected, CharStats affectableStats)
StatsAffecting
affectCharStats
in interface StatsAffecting
affectCharStats
in class Poison
affected
- the host of the CharStats object being affectedaffectableStats
- the particular CharStats object being affectedCharStats
,
MOB
,
MOB.baseCharStats()
,
MOB.charStats()
,
MOB.recoverCharStats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |