1
0
EQ2Emu/docs/lua_functions/GetSpellID.md

374 B

Function: GetSpellID()

Description: Gets the spell id of the current spell.

Parameters: None.

Returns: None.

Example:

-- From Spells/Mage/Sorcerer/Warlock/SkeletalGrasp.lua
function proc(Caster, Target, Type, Chance)
local Spell = GetSpellID()	
if Type == 15 and HasSpellEffect(Target, Spell) then
		RemoveControlEffect(Target, 5)
			end