|
|||||||||
| 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.Druid.Chant
public class Chant
| Field Summary | |
|---|---|
protected boolean |
renderedMundane
|
static int |
WEATHERQUE_CALM
|
static int |
WEATHERQUE_COLD
|
static int |
WEATHERQUE_HOT
|
static int |
WEATHERQUE_NADA
codes: -1=do nothing, 1=wind, 2=rain, 4=hot, 8=cold, 16=calm |
static int |
WEATHERQUE_RAIN
|
static int |
WEATHERQUE_WIND
|
| 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 | |
|---|---|
Chant()
|
|
| Method Summary | |
|---|---|
int |
abstractQuality()
Returns a constant value notifying the system of the general quality of the skill, whether it is malicious, beneficial, indifferent, or qualifiably beneficial (ok), as well as whether it is intended to target the invoker (self) or others. |
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. |
protected static boolean |
chantAlignmentCheck(StdAbility A,
MOB mob,
boolean renderedMundane,
boolean auto)
|
int |
classificationCode()
Returns a bitmap describing the general classification of the skill (spell, skill, chant, or property, etc) and its domain. |
java.lang.String |
displayText()
Gets the raw string used to show what this object looks like in the room. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
invoke(MOB mob,
java.util.List<java.lang.String> commands,
Physical givenTarget,
boolean auto,
int asLevel)
This method is called when a player or the system invokes this skill, casts this spell, etc. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
void |
setMiscText(java.lang.String newText)
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. |
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. |
protected int |
verbalCastCode(MOB mob,
Physical target,
boolean auto)
|
int |
weatherQue(Room R)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean renderedMundane
public static final int WEATHERQUE_NADA
public static final int WEATHERQUE_WIND
public static final int WEATHERQUE_RAIN
public static final int WEATHERQUE_HOT
public static final int WEATHERQUE_COLD
public static final int WEATHERQUE_CALM
| Constructor Detail |
|---|
public Chant()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdAbilitypublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class StdAbilityEnvironmental.Name()public java.lang.String displayText()
Environmental
displayText in interface EnvironmentaldisplayText in class StdAbility
protected int verbalCastCode(MOB mob,
Physical target,
boolean auto)
verbalCastCode in class StdAbilitypublic int abstractQuality()
Ability
abstractQuality in interface AbilityabstractQuality in class StdAbilityAbilitypublic java.lang.String[] triggerStrings()
Ability
triggerStrings in interface AbilitytriggerStrings in class StdAbilityAbility.putInCommandlist()protected int canAffectCode()
StdAbility
canAffectCode in class StdAbilityAbilityprotected int canTargetCode()
StdAbility
canTargetCode in class StdAbilityAbilitypublic void setMiscText(java.lang.String newText)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class StdAbilitynewText - either an open internal text string, or XMLpublic int classificationCode()
Ability
classificationCode in interface AbilityclassificationCode in class StdAbilityAbilitypublic int weatherQue(Room R)
protected static boolean chantAlignmentCheck(StdAbility A,
MOB mob,
boolean renderedMundane,
boolean auto)
public boolean invoke(MOB mob,
java.util.List<java.lang.String> commands,
Physical givenTarget,
boolean auto,
int asLevel)
Ability
invoke in interface Abilityinvoke in class StdAbilitymob - the player or mob invoking the skillcommands - the parameters entered for the skill (minus trigger word)givenTarget - null, unless being auto-invoked. Represents an override target.auto - false if player enters command, true if system invokes the commandasLevel - -1, unless being auto-invoked, when it is the level to invoke it at.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||