Lua API Reference: Spell (85 methods)

Browse the complete Lua API documentation for the Spell class. Search through 85 methods and 247 events to find the exact function signatures, parameters, and usage examples you need for your EQ-Emulator scripts.

Methods

spell:AEDuration() # uint32
spell:AEMaxTargets() # int
spell:Activated() # int
spell:AllowRest() # bool
spell:AoeRange() # float
spell:Base(i) # int
spell:Base2(i) # int
spell:BaseDiff() # int
spell:BonusHate() # int
spell:BuffDuration() # uint32
spell:BuffdurationFormula() # uint32
spell:CanMGB() # int
spell:CastOnOther() # string
spell:CastOnYou() # string
spell:CastRestriction() # int
spell:CastTime() # uint32
spell:CastingAnim() # int
spell:Classes(i) # int
spell:ComponentCounts(i) # int
spell:Components(i) # int
spell:DamageShieldType() # int
spell:Deities(i) # int
spell:DescNum() # int
spell:DirectionalEnd() # float
spell:DirectionalStart() # float
spell:DisallowSit() # int
spell:DispelFlag() # int
spell:EffectDescNum() # int
spell:EffectID(i) # int
spell:EndurCost() # int
spell:EndurTimerIndex() # int
spell:EndurUpkeep() # int
spell:EnvironmentType() # int
spell:Formula(i) # int
spell:GetZoneType() # int
spell:GoodEffect() # int
spell:HateAdded() # int
spell:ID() # int
spell:InCombat() # bool
spell:Mana() # int
spell:Max(i) # int
spell:MaxDist() # float
spell:MaxDistMod() # float
spell:MaxResist() # int
spell:MaxTargets() # int
spell:MinDist() # float
spell:MinDistMod() # float
spell:MinRange() # float
spell:MinResist() # int
spell:Name() # string
spell:NimbusEffect() # int
spell:NoexpendReagent(i) # int
spell:NumHits() # int
spell:OtherCasts() # string
spell:OutOfCombat() # bool
spell:PVPDuration() # int
spell:PVPDurationCap() # int
spell:PVPResistBase() # int
spell:PVPResistCalc() # int
spell:PVPResistCap() # int
spell:PersistDeath() # bool
spell:Player1() # string
spell:PowerfulFlag() # int
spell:PushBack() # float
spell:PushUp() # float
spell:Range() # float
spell:Rank() # int
spell:RecastTime() # uint32
spell:RecourseLink() # int
spell:RecoveryTime() # uint32
spell:ResistDiff() # int
spell:ResistType() # int
spell:ShortBuffBox() # int
spell:Skill() # int
spell:SpellAffectIndex() # int
spell:SpellCategory() # int
spell:SpellFades() # string
spell:SpellGroup() # int
spell:TargetType() # int
spell:TeleportZone() # string
spell:TimeOfDay() # int
spell:Uninterruptable() # int
spell:ViralTargets() # int
spell:ViralTimer() # int
spell:YouCast() # string