|
|||||||||
| 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_Launcher
public class Trap_Launcher
| 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_Launcher()
|
|
| Method Summary | |
|---|---|
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
boolean |
canSetTrapOn(MOB mob,
Physical P)
Returns whether the given trapper is currently in a position to set this trap on the specified object. |
protected int |
canTargetCode()
Designates whether, when invoked as a skill, what sort of objects this ability can effectively target. |
protected Item |
getPoison(MOB mob)
|
java.util.List<Item> |
getTrapComponents()
Returns a sample set of the components used to make this trap. |
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. |
Trap |
setTrap(MOB mob,
Physical P,
int trapBonus,
int qualifyingClassLevel,
boolean perm)
Completed the task of setting a trap on a given object. |
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, baseRejuvTime, canInvokeTrapOn, canReSetTrap, classificationCode, copyOf, destroyResources, disable, disabled, doesSaveVsTraps, enchantQuality, executeMsg, findFirstResource, findMostOfMaterial, findNumberOfResource, getReset, getSafeDirs, getTravelThroughFlag, invoke, invoker, isABomb, isLocalExempt, maySetTrap, okMessage, resetTrap, setAbilityCode, setInvoker, setMiscText, setReset, 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, affectPhyStats |
| 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_Launcher()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdTrappublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class StdTrapEnvironmental.Name()protected int canAffectCode()
StdAbility
canAffectCode in class StdTrapAbilityprotected int canTargetCode()
StdAbility
canTargetCode in class StdTrapAbilityprotected int trapLevel()
trapLevel in class StdTrappublic java.lang.String requiresToSet()
Trap
requiresToSet in interface TraprequiresToSet in class StdTrapTrap.canSetTrapOn(MOB, Physical)protected Item getPoison(MOB mob)
public java.util.List<Item> getTrapComponents()
Trap
getTrapComponents in interface TrapgetTrapComponents in class StdTrap
public Trap setTrap(MOB mob,
Physical P,
int trapBonus,
int qualifyingClassLevel,
boolean perm)
Trap
setTrap in interface TrapsetTrap in class StdTrapmob - the trapperP - the object to set the trap ontrapBonus - any bonus to the traps effectiveness (0 is normal)qualifyingClassLevel - the class-level at which the trapper qualified for this trapperm - true to make the trap reset after being triggered or disarmed, false to destroy
public boolean canSetTrapOn(MOB mob,
Physical P)
Trap
canSetTrapOn in interface TrapcanSetTrapOn in class StdTrapmob - the trapperP - the object this trap will be set upon
Trap.maySetTrap(MOB, int),
Trap.setTrap(MOB, Physical, int, int, boolean)public void spring(MOB target)
Trap
spring in interface Trapspring in class StdTraptarget - the target of the effectTrap.sprung()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||