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)
Category
int64 CounterNumber The number of counters that the spell adds
string CounterType The resist counter. Will be one of "Disease", "Poison", "Curse" or "Corruption"
Deletable
Description
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
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}
SPA
SpellGroup
int SpellIcon Icon number of the spell. Exmaple ${Spell[blah].SpellIcon}
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
Subcategory
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

Spell Ranks

/echo I have the ${Spell[Certitude].RankName} version of Certitude. - Spell

Outputs: I have the Certitude Rk. II version of Ceritude.

/cast "${Spell[Vinespur].RankName}" in your macro will cast the proper rank, since its going to be resolved as /cast "Vinespur Rk. II"

/echo My version of Rest is: ${Spell[Rest].RankName} - Combat ability

Outputs: My version of Rest is: Rest Rk. II

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