|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Abilities.Properties.Property
com.planet_ink.coffee_mud.Abilities.Properties.Prop_SpellAdder
com.planet_ink.coffee_mud.Abilities.Properties.Prop_HaveSpellCast
com.planet_ink.coffee_mud.Abilities.Properties.Prop_WearSpellCast
public class Prop_WearSpellCast
Field Summary | |
---|---|
boolean |
checked
|
boolean |
disabled
|
boolean |
layered
|
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Prop_HaveSpellCast |
---|
myItem |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Prop_SpellAdder |
---|
chanceToHappen, compiledMask, invokerMOB, lastMOB, level, maxTicks, processing, spellV, uninvocable, unrevocableSpells |
Fields inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Property |
---|
affected, amDestroyed, empty, miscText, savable |
Fields inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.TriggeredAffect |
---|
TRIGGER_ALWAYS, TRIGGER_BEING_HIT, TRIGGER_DROP_PUTIN, TRIGGER_ENTER, TRIGGER_GET, TRIGGER_HITTING_WITH, TRIGGER_MOUNT, TRIGGER_PUT, TRIGGER_USE, TRIGGER_WEAR_WIELD |
Constructor Summary | |
---|---|
Prop_WearSpellCast()
|
Method Summary | |
---|---|
java.lang.String |
accountForYourself()
For use by the identify spell, this should return a nice description of any properties incorporated by this effect. |
boolean |
addMeIfNeccessary(PhysicalAgent source,
Physical target,
boolean makeLongLasting,
int asLevel,
short maxTicks)
|
void |
affectPhyStats(Physical host,
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. |
void |
check(MOB mob,
Armor A)
|
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. |
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. |
int |
triggerMask()
This method returns a mask of TRIGGER_* constants denoting what triggers the properties |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Prop_HaveSpellCast |
---|
flags, setAffectedOne |
Methods inherited from class com.planet_ink.coffee_mud.Abilities.Properties.Prop_SpellAdder |
---|
abilities, addAbility, allAbilities, convertToV2, delAbility, delAllAbilities, didHappen, fetchAbility, fetchAbility, fetchRandomAbility, finalize, getBestInvokerMOB, getInvokerMOB, getMaskString, getMySpellsV, getParmString, invoke, makeMySpellsH, numAbilities, numAllAbilities, removeMyAffectsFrom, removeMyAffectsFromLastMOB, spellAccountingsWithMask |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.planet_ink.coffee_mud.Abilities.interfaces.Ability |
---|
abilityCode, abstractQuality, adjustedLevel, affecting, appropriateToMyFactions, autoInvocation, bubbleAffect, canAffect, canAffect, canBeLearnedBy, canBePracticedBy, canBeTaughtBy, canBeUninvoked, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, classificationCode, combatCastingTime, enchantQuality, externalFiles, getTrainingCost, helpProficiency, invoke, invoker, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAbilityCode, setInvoker, setProficiency, startTickDown, teach, triggerStrings, 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, text |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Tickable |
---|
getTickStatus, tick |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.StatsAffecting |
---|
affectCharState, affectCharStats |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.MsgListener |
---|
okMessage |
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 |
---|
copyOf, 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 |
Field Detail |
---|
public boolean checked
public boolean disabled
public boolean layered
Constructor Detail |
---|
public Prop_WearSpellCast()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class Prop_HaveSpellCast
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class Prop_HaveSpellCast
Environmental.Name()
protected int canAffectCode()
Property
canAffectCode
in class Prop_HaveSpellCast
Ability
public java.lang.String accountForYourself()
Ability
accountForYourself
in interface Ability
accountForYourself
in class Prop_HaveSpellCast
public int triggerMask()
TriggeredAffect
triggerMask
in interface TriggeredAffect
triggerMask
in class Prop_HaveSpellCast
TriggeredAffect.TRIGGER_ALWAYS
public void check(MOB mob, Armor A)
public void setMiscText(java.lang.String newText)
Environmental
setMiscText
in interface Environmental
setMiscText
in class Prop_SpellAdder
newText
- either an open internal text string, or XMLpublic void executeMsg(Environmental host, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
executeMsg
in class Prop_HaveSpellCast
host
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that needs to be executedCMMsg
public boolean addMeIfNeccessary(PhysicalAgent source, Physical target, boolean makeLongLasting, int asLevel, short maxTicks)
addMeIfNeccessary
in class Prop_SpellAdder
public void affectPhyStats(Physical host, PhyStats affectableStats)
StatsAffecting
affectPhyStats
in interface StatsAffecting
affectPhyStats
in class Prop_HaveSpellCast
host
- the host of the PhyStats object being affectedaffectableStats
- the particular PhyStats object being affectedPhyStats
,
Environmental
,
Affectable.basePhyStats()
,
Affectable.phyStats()
,
Affectable.recoverPhyStats()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |