as title
test code:
local myHero = GetMyHero() OnProcessSpellComplete(function(unit, spell) if unit == myHero then PrintChat("OnProcessSpellComplete: "..spell.name) end end) OnProcessSpell(function(unit, spell) if unit == myHero then PrintChat("OnProcessSpell: "..spell.name) end end)