|
|||||||||
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_ClanEquipment
public class Prop_ClanEquipment
Title: False Realities Flavored CoffeeMUD Description: The False Realities Version of CoffeeMUD Copyright: Copyright (c) 2003 Jeremy Vyska Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Company: http://www.falserealities.com
Field Summary | |
---|---|
protected boolean |
activated
|
protected java.lang.String |
clanName
|
protected java.lang.String |
clanType
|
protected CharStats |
EQadjCharStats
|
protected long |
LastChecked
|
protected boolean |
notAgain
|
protected int |
PowerLevel
|
protected java.lang.String |
secretWord
|
protected java.lang.String |
type
|
protected int |
TypeOfEffect
|
protected int |
WeaponType
|
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_ClanEquipment()
|
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. |
void |
affectCharStats(MOB affectedMOB,
CharStats affectedStats)
This method is called by the recoverCharStats() method on other MOB objects. |
boolean |
bubbleAffect()
This method is used to modify the behavior of the affectPhyStats, affectCharStats, and affectCharState methods. |
protected int |
canAffectCode()
Designates whether, when used as a property/effect, what sort of objects this ability can affect. |
boolean |
checkWave(MOB mob,
java.lang.String message,
Wand me)
|
void |
executeMsg(Environmental myHost,
CMMsg msg)
The general message event handler for the object. |
long |
flags()
Returns a bitmap giving some specific information about the scope and purpose of the skill. |
static java.lang.String |
getWandWord(java.lang.String from)
|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
static void |
initAdjustments(CharStats adjCharStats)
|
java.lang.String |
name()
The nice displayable name of this instance of this object |
void |
setMiscText(java.lang.String text)
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 |
boolean |
useAsWand(MOB mob,
int level)
|
void |
waveIfAble(MOB mob,
Environmental afftarget,
java.lang.String message,
Wand me)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, 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, canAffect, canAffect, canBeLearnedBy, canBePracticedBy, canBeTaughtBy, canBeUninvoked, canTarget, canTarget, castingQuality, castingTime, checkedCastingCost, classificationCode, combatCastingTime, enchantQuality, externalFiles, getTrainingCost, helpProficiency, invoke, invoke, invoker, isAutoInvoked, isNowAnAutoEffect, makeLongLasting, makeNonUninvokable, practice, preInvoke, proficiency, proficiencyCheck, putInCommandlist, requirements, setAbilityCode, setAffectedOne, 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, affectPhyStats |
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 |
---|
protected boolean activated
protected java.lang.String type
protected int TypeOfEffect
protected int WeaponType
protected int PowerLevel
protected long LastChecked
protected boolean notAgain
protected java.lang.String clanName
protected java.lang.String clanType
protected CharStats EQadjCharStats
protected java.lang.String secretWord
Constructor Detail |
---|
public Prop_ClanEquipment()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class Property
public java.lang.String name()
Tickable
name
in interface CMObject
name
in interface Tickable
name
in class Property
Environmental.Name()
public boolean bubbleAffect()
Ability
bubbleAffect
in interface Ability
bubbleAffect
in class Property
Item.owner()
public long flags()
Ability
flags
in interface Ability
flags
in class Property
Ability
protected int canAffectCode()
Property
canAffectCode
in class Property
Ability
public int triggerMask()
TriggeredAffect
triggerMask
in interface TriggeredAffect
TriggeredAffect.TRIGGER_ALWAYS
public java.lang.String accountForYourself()
Ability
accountForYourself
in interface Ability
accountForYourself
in class Property
public void setMiscText(java.lang.String text)
Environmental
setMiscText
in interface Environmental
setMiscText
in class Property
text
- either an open internal text string, or XMLpublic boolean useAsWand(MOB mob, int level)
public static java.lang.String getWandWord(java.lang.String from)
public boolean checkWave(MOB mob, java.lang.String message, Wand me)
public void waveIfAble(MOB mob, Environmental afftarget, java.lang.String message, Wand me)
public static void initAdjustments(CharStats adjCharStats)
public void affectCharStats(MOB affectedMOB, CharStats affectedStats)
StatsAffecting
affectCharStats
in interface StatsAffecting
affectCharStats
in class Property
affectedMOB
- the host of the CharStats object being affectedaffectedStats
- the particular CharStats object being affectedCharStats
,
MOB
,
MOB.baseCharStats()
,
MOB.charStats()
,
MOB.recoverCharStats()
public void executeMsg(Environmental myHost, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
executeMsg
in class Property
myHost
- 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 |