|
|||||||||
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.Traps.StdTrap
com.planet_ink.coffee_mud.Abilities.Traps.Trap_Darkfall
public class Trap_Darkfall
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Traps.StdTrap |
---|
ableCode, disabled, newMessaging, reset, safeDirs, sprung, TRIGGER |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
---|
affected, amDestroyed, canBeUninvoked, empty, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
Fields inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Trap |
---|
TRAP_GAS, TRAP_NEEDLE, TRAP_PIT_BLADE, TRAP_SPELL |
Constructor Summary | |
---|---|
Trap_Darkfall()
|
Method Summary | |
---|---|
void |
affectPhyStats(Physical affected,
PhyStats affectableStats)
This method is called by the recoverPhyStats() method on other Environmental objects. |
int |
baseRejuvTime(int level)
|
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
protected int |
canTargetCode()
Designates whether, when invoked as a skill, what sort of objects this ability can effectively target. |
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 |
java.lang.String |
requiresToSet()
A simple display string describing the conditions necesssary to get the canSetTrapOn method to return true. |
void |
spring(MOB target)
This method causes this trap to take affect against the given target. |
protected int |
trapLevel()
|
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Traps.StdTrap |
---|
abilityCode, abstractQuality, activateBomb, baseDestructTime, canInvokeTrapOn, canReSetTrap, canSetTrapOn, classificationCode, copyOf, destroyResources, disable, disabled, doesSaveVsTraps, enchantQuality, executeMsg, findFirstResource, findMostOfMaterial, findNumberOfResource, getReset, getSafeDirs, getTrapComponents, getTravelThroughFlag, invoke, invoker, isABomb, isLocalExempt, maySetTrap, okMessage, resetTrap, setAbilityCode, setInvoker, setMiscText, setReset, setTrap, sprung, text, tick, triggerStrings |
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 |
---|
accountForYourself, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBeLearnedBy, canBePracticedBy, canBeTaughtBy, canBeUninvoked, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, combatCastingTime, externalFiles, flags, getTrainingCost, helpProficiency, invoke, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAffectedOne, setProficiency, startTickDown, teach, unInvoke, usageCost, usageType |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Environmental |
---|
description, displayText, expirationDate, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setExpirationDate, setImage, setName |
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, affectCharStats |
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 |
---|
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 Trap_Darkfall()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdTrap
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class StdTrap
Environmental.Name()
protected int canAffectCode()
StdAbility
canAffectCode
in class StdTrap
Ability
protected int canTargetCode()
StdAbility
canTargetCode
in class StdTrap
Ability
protected int trapLevel()
trapLevel
in class StdTrap
public java.lang.String requiresToSet()
Trap
requiresToSet
in interface Trap
requiresToSet
in class StdTrap
Trap.canSetTrapOn(MOB, Physical)
public int baseRejuvTime(int level)
baseRejuvTime
in class StdTrap
public void affectPhyStats(Physical affected, PhyStats affectableStats)
StatsAffecting
affectPhyStats
in interface StatsAffecting
affectPhyStats
in class StdAbility
affected
- the host of the PhyStats object being affectedaffectableStats
- the particular PhyStats object being affectedPhyStats
,
Environmental
,
Affectable.basePhyStats()
,
Affectable.phyStats()
,
Affectable.recoverPhyStats()
public void spring(MOB target)
Trap
spring
in interface Trap
spring
in class StdTrap
target
- the target of the effectTrap.sprung()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |