Cast¶
Shows if plugin is loaded, and holds the Cast datatype which is much more interesting
Forms¶
bool Cast¶
- Return TRUE if plugin is loaded and you are in-game.
Associated DataTypes¶
Cast¶
- Returns information about plugin status, current spell being cast, spell readiness and more.
-
Members
bool
Active¶- Return TRUE if plugin is loaded and you are in-game.
spell
Effect¶- Returns the name of the spell being cast, or a NULL string if not casting.
bool
Ready[X]¶-
Returns TRUE if ready to cast based on the parameter provided:
No parameter: -
${Cast.Ready}- Returns TRUE if ready to cast a spell, item or AASpecial parameters: -
${Cast.Ready[M]}- Returns TRUE if ready to memorize a spell -${Cast.Ready[#]}- Returns TRUE if gem # is ready to cast (where # is a gem number)Name or ID parameters: -
${Cast.Ready[<name or ID>]}- Returns TRUE if the specified spell, item, gem, ID, AA, etc. is ready to castDisambiguation
Since spells and items can have the same IDs, and spells and AAs can have the same names, it's recommended to specify the type of cast (e.g.,
gem#,item,alt). See examples below for usage patterns.
string
Result¶-
Returns a string containing the result of the
/castingcommand.Possible result values:
Result Description CAST_ABORTEDCasting Aborted ( /interrupt)CAST_CANCELLEDCasting was aborted CAST_CANNOTSEECannot see target CAST_COLLAPSEYour Gate collapsed CAST_COMPONENTSMissing Component CAST_DISTRACTEDYou were distracted CAST_FIZZLEYour cast fizzled CAST_IMMUNETarget is immune the spell's effect CAST_INTERRUPTEDCasting was interrupted CAST_INVISIBLEYou are invisible CAST_NOTARGETNo target CAST_NOTREADYNot ready to cast CAST_OUTOFMANANot enough mana to cast spell CAST_OUTOFRANGETarget is out of range CAST_OUTDOORSSpell not working here (on mount etc.) CAST_PENDINGCasting is in progress CAST_RECOVERSpell is not ready CAST_RESISTCast was resisted CAST_STANDINGNot standing CAST_STUNNEDYou are stunned CAST_SUCCESSThe cast was a success CAST_TAKEHOLDThe spell did not take hold CAST_UNKNOWNUnknown Spell
string
Return¶- Returns the result of the casting/memorize/interrupt request.
string
Status¶-
Returns a string containing all the pending events. This string often contains multiple events (e.g., when
/castingstill has to immobilize you and then memorize the spell before it can cast).Possible pending event codes:
Code Description I Idle and waiting for you A Advpath pause F Stick pause S Immobilize in progress M Memorize in progress E Item swapped D Ducking casting T Targeting C Spell casting in progress
spell
Stored¶- Returns the last spell that was cast, or NULL if no spell has been cast.
bool
Taken¶- Return TRUE if last spell cast didn't take hold on target.
int
Timing¶- Returns the estimated number of miliseconds remaining until the spell finished casting.
Examples¶
/echo ${Cast}
This TLO is added by MQ2Cast.