Skip to content

spell

This is the type used for spell information.

Members

Type Member Description
float AERange AE range (group spells use this for their range)
Attrib
AutoCast
int64 Base
int64 Base2
BaseEffectsFocusCap
BaseName
Beneficial
BookIcon
Calc
CalcIndex
CanMGB
CastByMe
CastByOther
string CastOnAnother Message when cast on others
string CastOnYou Message when cast on yourself
timestamp CastTime Cast time (unadjusted)
string Category Name of the category the spell belongs to (e.g. "HP Buffs")
int CategoryID Numeric ID of the category this spell belongs to
int64 CounterNumber The number of counters that the spell adds
string CounterType The resist counter. Will be one of "Disease", "Poison", "Curse" or "Corruption"
bool Deletable Whether a spell can be deleted from the spell book
Description
bool Dispellable Whether a spell can be dispelled
ticks Duration Duration of the spell (if any)
ticks DurationValue1 Duration of the spell (if any)
DurationWindow
EnduranceCost
EQSpellDuration
Extra
timestamp FizzleTime Time to recover after fizzle
int GemIcon Icon number of the spell. Example ${Spell[blah].GemIcon}
HasSPA
int HastePct Percentage of haste, example of use ${Me.Hasted.HastePct} or ${Spell[Speed of Milyex].HastePct}
int ID Spell ID
IllusionOkWhenMounted
IsActiveAA
bool IsSkill is this spell a skill?
bool IsSwarmSpell Is this spell a Swarm spell?
int Level Level
string Link[ text ] Generate a clickable spell link. text is optional and overrides the text of the link.
int Location Appears to be max distance
int Mana Mana cost (unadjusted)
int64 Max
int64 MaxLevel
timestamp MyCastTime Adjusted cast time
MyDuration
float MyRange Adjusted spell range, including focus effects, etc.
string Name Spell Name
NoExpendReagentID
NumEffects
float PushBack Push back amount
float Range Maximum range to target (use AERange for AE and group spells)
int Rank Returns either 1, 2 or 3 for spells and 4-30 for clickables and potions.
string RankName Returns the spell/combat ability name rank character has.
ReagentCount
ReagentID
float RecastTime Time to recast after successful cast
RecastTimerID
timestamp RecoveryTime Same as FizzleTime
int ResistAdj Resist adjustment
string ResistType See below for Resist Types
Restrictions
string Skill See below for Skill Types
int SlowPct Percentage of slow, example of use ${Target.Slowed.SlowPct} or ${Spell[Slowing Helix].SlowPct}
SpellGroup
int SpellIcon Numeric ID of the Icon used to represent the spell.
string SpellType "Beneficial(Group)", "Beneficial", "Detrimental" or "Unknown"
bool Stacks[ duration ] Does the selected spell stack with your current buffs (duration is in ticks)
bool StacksPet[ duration ] Does the selected spell stack with your pet's current buffs (duration is in ticks)
StacksSpawn
bool StacksTarget Does the selected spell stack with your target's current buffs
bool StacksWith[ name ] alias for .WillStack - see entry for more details
StacksWithDiscs
string Subcategory Name of the subcategory this spell belongs to (e.g. "Shielding")
int SubcategoryID Numeric Id of the subcategory this spell belongs to.
SubSpellGroup
string TargetType See below for Target Types
TimeOfDay
Trigger
string WearOff The "wear off" message
int WillLand This is like stacks but without the duration check. It's a clean: "Will this spell land." Returns the slot it would land in.
int WillLandPet Same as WillLand, but for your pet.
bool WillStack[ name ] Does the selected spell stack with the specific SPELL name DOES NOT work with AAs.
string (To String) Same as Name

Methods

Name Action
Inspect Opens the spell display window for this spell

Conversions

Spell variables can be assigned the following types with /vardata:

  • int: Assigns the spell by spell id
  • string: Assigns the spell by spell name
  • spell: Copies a spell stored in another var

Spell variables can also be assigned an id or name with /varset. These conversions are equivalent to the Spell TLO.

Spell Ranks

Spell Example:

> /echo I have the ${Spell[Certitude].RankName} version of Certitude.
I have the Certitude Rk. II version of Ceritude.

Combat Ability Example:

> /echo My version of Rest is: ${Spell[Rest].RankName}
My version of Rest is: Rest Rk. II

To cast a spell with the proper rank, use the following:

/cast "${Spell[Vinespur].RankName}"

Resist Types

ResistType will be one of the following:

  • Chromatic
  • Corruption
  • Cold
  • Disease
  • Fire
  • Magic
  • Poison
  • Unresistable
  • Prismatic
  • Unknown

Spell Types

SpellType will be one of the following:

  • Beneficial(Group)
  • Beneficial
  • Detrimental
  • Unknown

Target Types

TargetType will be one of the following:

  • AE PC v1
  • AE PC v2
  • AE Summoned
  • AE Undead
  • Animal
  • Beam
  • Caster PB NPC
  • Caster PB PC
  • Chest
  • Corpse
  • Directional AE
  • Free Target
  • Group v1
  • Group v2
  • Hatelist
  • Hatelist2
  • LifeTap
  • Line of Sight
  • No Pets
  • None
  • PB AE
  • Pet
  • Pet Owner
  • Pet2
  • Plant
  • Self
  • Single
  • Single Friendly (or Target's Target)
  • Single in Group
  • Special Muramites
  • Summoned
  • Target of Target
  • Target_AE_No_Players_Pets
  • Targeted AE
  • Targeted AE Tap
  • Uber Dragons
  • Uber Giants
  • Undead
  • Unknown

Skill Types

Skill will be one of the following:

  • Abjuration
  • Alteration
  • Conjuration
  • Divination
  • Evocation