Thread Tools Display Modes
01-25-07, 11:14 AM   #1
Mizaru
A Kobold Labourer
Join Date: Jan 2007
Posts: 1
Detecting casts with a casting time?

Hi there, I am currently looking into developing an addon which replicates a swing timer, and as such for the Paladin and Shaman class, thier swing timer resets on spells with a casting time, but not instant casts. I've been looking into using:

CHAT_MSG_SPELL_SELF_DAMAGE

However this does not include healing spells, and while looking at wowwiki I stumbled upon:

CHAT_MSG_SPELL_SELF_BUFF

however the examples of this were not so clear, these would work if I i were to heal myself, but what if I were to cast a healing spell on an ally, it wouldnt be counted, and then my swing timer addon wouldnt reset the timer while the game has.

(sorry for the lack of clarity)

Does anyone know anything about detecting casts with a casting time, hostile/friendly type spells? (Ex: Healing Wave and Lightning Bolt or Flash of Light and Holy Wrath or Avenger's shield.)
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Detecting casts with a casting time?


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off