|
|||||||||
| 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.Fighter.FighterSkill
com.planet_ink.coffee_mud.Abilities.Fighter.Fighter_FarShot
public class Fighter_FarShot
| Field Summary | |
|---|---|
int |
checkDown
|
protected java.util.List<Weapon> |
qualifiedWeapons
|
| 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 | |
|---|---|
Fighter_FarShot()
|
|
| 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. |
void |
affectPhyStats(Physical affected,
PhyStats affectableStats)
This method is called by the recoverPhyStats() method on other Environmental objects. |
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. |
protected void |
cloneFix(Ability E)
|
java.lang.String |
displayText()
Gets the raw string used to show what this object looks like in the room. |
void |
executeMsg(Environmental host,
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 |
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. |
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.Fighter.FighterSkill |
|---|
usageType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int checkDown
protected java.util.List<Weapon> qualifiedWeapons
| Constructor Detail |
|---|
public Fighter_FarShot()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class FighterSkillpublic java.lang.String name()
Tickable
name in interface CMObjectname in interface Tickablename in class FighterSkillEnvironmental.Name()public java.lang.String displayText()
Environmental
displayText in interface EnvironmentaldisplayText in class StdAbilitypublic int abstractQuality()
Ability
abstractQuality in interface AbilityabstractQuality in class StdAbilityAbilityprotected int canAffectCode()
StdAbility
canAffectCode in class FighterSkillAbilityprotected int canTargetCode()
StdAbility
canTargetCode in class FighterSkillAbilitypublic 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 FighterSkillAbilityprotected void cloneFix(Ability E)
cloneFix in class StdAbilitypublic void setMiscText(java.lang.String newText)
Environmental
setMiscText in interface EnvironmentalsetMiscText in class StdAbilitynewText - either an open internal text string, or XML
public void executeMsg(Environmental host,
CMMsg msg)
MsgListener
executeMsg in interface MsgListenerexecuteMsg in class StdAbilityhost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsg
public void affectPhyStats(Physical affected,
PhyStats affectableStats)
StatsAffecting
affectPhyStats in interface StatsAffectingaffectPhyStats in class StdAbilityaffected - the host of the PhyStats object being affectedaffectableStats - the particular PhyStats object being affectedPhyStats,
Environmental,
Affectable.basePhyStats(),
Affectable.phyStats(),
Affectable.recoverPhyStats()
public boolean tick(Tickable ticking,
int tickID)
Tickable
tick in interface Tickabletick in class StdAbilityticking - a reference to this Tickable objecttickID - the TICKID_ constant describing this periodic call, as defined in Tickable
Tickable,
ServiceEngine,
TickableGroup
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||