java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, Environmental
, Expireable
, Modifiable
, MsgListener
, StatsAffecting
, Tickable
Wand
ArchonStaff
, GenMagicInstrument
, GenStaff
, GenWand
, Prayer_StorePrayer
, Staff
, StdWand
, Wand_Advancement
, Wand_Fire
, Wand_Nourishment
, WandArchon
public interface Dischargeable extends Environmental
idConverter
STATUS_AFFECT, STATUS_ALIVE, STATUS_BEHAVIOR, STATUS_CLASS, STATUS_DEAD, STATUS_END, STATUS_FIGHT, STATUS_MISC, STATUS_MISC2, STATUS_MISC3, STATUS_MISC4, STATUS_MISC5, STATUS_MISC6, STATUS_MISC7, STATUS_NOT, STATUS_OTHER, STATUS_RACE, STATUS_REBIRTH, STATUS_SCRIPT, STATUS_START, STATUS_WEATHER, TICKID_AREA, TICKID_BALLISTICK, TICKID_CLAN, TICKID_CLANITEM, TICKID_DEADBODY_DECAY, TICKID_ELECTRONICS, TICKID_EMAIL, TICKID_EVENT, TICKID_EXIT_BEHAVIOR, TICKID_EXIT_REOPEN, TICKID_ITEM_BEHAVIOR, TICKID_ITEM_BOUNCEBACK, TICKID_LIGHT_FLICKERS, TICKID_LIVEAUCTION, TICKID_LONGERMASK, TICKID_MISCELLANEOUS, TICKID_MOB, TICKID_PROPERTY_SPECIAL, TICKID_QUEST, TICKID_READYTOSTOP, TICKID_ROOM_BEHAVIOR, TICKID_ROOM_ITEM_REJUV, TICKID_SHORTERMASK, TICKID_SOLITARYMASK, TICKID_SPECIALCOMBAT, TICKID_SPECIALMANEUVER, TICKID_SPELL_AFFECT, TICKID_SUPPORT, TICKID_TIMEAUCTION, TICKID_TRAP_DESTRUCTION, TICKID_TRAP_RESET
Modifier and Type | Method | Description |
---|---|---|
int |
getCharges() |
Returns the number charges remaining
|
int |
getMaxCharges() |
Gets the max number of times this can be invoked before
being drained and empty useless.
|
void |
setCharges(int num) |
Sets the number of charges remaining
|
void |
setMaxCharges(int num) |
Sets the max number of times this wand can be invoked before
being drained and empty useless stick.
|
copyOf, ID, initializeClass, newInstance
amDestroyed, destroy, isSavable, setSavable
description, displayText, image, isGeneric, L, maxRange, minRange, miscTextFormat, Name, rawImage, sameAs, setDescription, setDisplayText, setImage, setMiscText, setName, text
expirationDate, setExpirationDate
getSaveStatIndex, getStat, getStatCodes, isStat, setStat
executeMsg, okMessage
affectCharState, affectCharStats, affectPhyStats
getTickStatus, name, tick
int getCharges()
void setCharges(int num)
num
- the number of charges remainingint getMaxCharges()
setMaxCharges(int)
void setMaxCharges(int num)
num
- the number of times this can be invokedgetMaxCharges()