|
|||||||||
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.Thief.ThiefSkill
com.planet_ink.coffee_mud.Abilities.Thief.Thief_SenseLaw
public class Thief_SenseLaw
Field Summary | |
---|---|
static java.util.Vector<MOB> |
empty
|
protected java.lang.String |
lastReport
|
protected Room |
oldroom
|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.StdAbility |
---|
affected, amDestroyed, canBeUninvoked, invoker, isAnAutoEffect, lastCastHelp, miscText, proficiency, savable, tickDown, unInvoked |
Constructor Summary | |
---|---|
Thief_SenseLaw()
|
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. |
java.lang.String |
displayText()
Gets the raw string used to show what this object looks like in the room. |
boolean |
findLaw(Room R,
int depth,
int maxDepth)
|
java.util.Vector<MOB> |
getLawMen(Area legalObject,
Room room,
LegalBehavior B)
|
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 |
boolean |
tick(Tickable ticking,
int tickID)
this is the method which is called periodically by the threading engine. |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Thief.ThiefSkill |
---|
enchantQuality, getHighestLevelMOB, getMOBLevel, getOpenable, invoke |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.util.Vector<MOB> empty
protected Room oldroom
protected java.lang.String lastReport
Constructor Detail |
---|
public Thief_SenseLaw()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class ThiefSkill
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class ThiefSkill
Environmental.Name()
public java.lang.String displayText()
Environmental
displayText
in interface Environmental
displayText
in class StdAbility
protected int canAffectCode()
StdAbility
canAffectCode
in class ThiefSkill
Ability
protected int canTargetCode()
StdAbility
canTargetCode
in class ThiefSkill
Ability
public int abstractQuality()
Ability
abstractQuality
in interface Ability
abstractQuality
in class ThiefSkill
Ability
public boolean isAutoInvoked()
Ability
isAutoInvoked
in interface Ability
isAutoInvoked
in class StdAbility
public boolean canBeUninvoked()
Ability
canBeUninvoked
in interface Ability
canBeUninvoked
in class StdAbility
Ability.makeNonUninvokable()
public int classificationCode()
Ability
classificationCode
in interface Ability
classificationCode
in class ThiefSkill
Ability
public java.util.Vector<MOB> getLawMen(Area legalObject, Room room, LegalBehavior B)
public boolean findLaw(Room R, int depth, int maxDepth)
public boolean tick(Tickable ticking, int tickID)
Tickable
tick
in interface Tickable
tick
in class StdAbility
ticking
- a reference to this Tickable objecttickID
- the TICKID_ constant describing this periodic call, as defined in Tickable
Tickable
,
ServiceEngine
,
TickableGroup
public boolean autoInvocation(MOB mob, boolean force)
Ability
autoInvocation
in interface Ability
autoInvocation
in class StdAbility
mob
- the player or npc mob who has this abilityforce
- if the skill has default-off settings, this overrides to ON
Ability.isAutoInvoked()
,
Ability.isNowAnAutoEffect()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |