|
|||||||||
| 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.Skills.StdSkill
com.planet_ink.coffee_mud.Abilities.Skills.Skill_Skillcraft
public class Skill_Skillcraft
| Field Summary | |
|---|---|
java.lang.String |
lastID
|
| 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 | |
|---|---|
Skill_Skillcraft()
|
|
| 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. |
boolean |
autoInvocation(MOB mob,
boolean force)
An autoinvocating ability is an ability which affects the mob just by having learned the ability. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
boolean |
canBeUninvoked()
Whether this skill is allowed to be uninvoked. |
protected int |
canTargetCode()
Designates whether, when invoked as a skill, what sort of objects this ability can effectively target. |
int |
classificationCode()
Returns a bitmap describing the general classification of the skill (spell, skill, chant, or property, etc) and its domain. |
int[] |
craftTypes()
|
java.lang.String |
displayText()
Gets the raw string used to show what this object looks like in the room. |
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. |
boolean |
isAutoInvoked()
An autoinvocating ability is an ability which affects the mob just by having learned the ability. |
java.lang.String |
name()
The nice displayable name of this instance of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String lastID
| Constructor Detail |
|---|
public Skill_Skillcraft()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdSkillpublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class StdSkillEnvironmental.Name()public java.lang.String displayText()
Environmental
displayText in interface EnvironmentaldisplayText in class StdAbilityprotected int canAffectCode()
StdAbility
canAffectCode in class StdSkillAbilityprotected int canTargetCode()
StdAbility
canTargetCode in class StdSkillAbilitypublic int abstractQuality()
Ability
abstractQuality in interface AbilityabstractQuality in class StdAbilityAbilitypublic boolean isAutoInvoked()
Ability
isAutoInvoked in interface AbilityisAutoInvoked in class StdAbilitypublic boolean canBeUninvoked()
Ability
canBeUninvoked in interface AbilitycanBeUninvoked in class StdAbilityAbility.makeNonUninvokable()public int classificationCode()
Ability
classificationCode in interface AbilityclassificationCode in class StdSkillAbilitypublic int[] craftTypes()
public boolean autoInvocation(MOB mob,
boolean force)
Ability
autoInvocation in interface AbilityautoInvocation in class StdAbilitymob - the player or npc mob who has this abilityforce - if the skill has default-off settings, this overrides to ON
Ability.isAutoInvoked(),
Ability.isNowAnAutoEffect()
public void executeMsg(Environmental myHost,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class StdAbilitymyHost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsg
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||