Skip to content

Instantly share code, notes, and snippets.

@tekkub
Created August 6, 2008 23:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tekkub/4296 to your computer and use it in GitHub Desktop.
Save tekkub/4296 to your computer and use it in GitHub Desktop.
local spell
spell = UnitCastingInfo("target")
if spell then
self:UNIT_SPELLCAST_START(nil, "target")
return
end
spell = UnitChannelInfo("target")
if spell then
self:UNIT_SPELLCAST_CHANNEL_START(nil, "target")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment