Lua RegisterDummySpell

From ArcEmu-Wiki
Jump to: navigation, search

Description

Returns a function after casting a registered spell with a dummy effect.

Usage/Example

Registering a spell with a "dummy","script effect" or "send event" effect:

RegisterDummySpell(18282, DummySpell)


Function example:

function DummySpell(spellIndex, pSpell)
   print(pSpell:GetEntry()) --18282
end

--added by Mordred from LUA_ENGINE_COMMANDS.txt

Personal tools