Thread Tools Display Modes
04-10-08, 09:27 AM   #1
Dezyne
A Kobold Labourer
Join Date: Apr 2008
Posts: 1
Question Spell interrupted report?

Hi!


There's a little problem I'd like to solve. After playing around with various things I decided to write a post, hoping that someone could push me into the right direction.

I'm trying to have my AddOn report any successful interrupt, with either a stun or a something in the likes of a counterspell/kick. I however seem to have no luck in filtering the right event from the COMBAT_LOG_EVENT_UNFILTERED event. The last option I'd like to use is to keep track of every spell I successfully casted that has the ability to interrupt and check for a SPELL_CAST_FAILED event with sourceGUID == UnitGUID("target") immediately after - this seems needlessly complicated. Is there something obvious I'm missing?


Thanks in advance, regards,
- Dezyne
  Reply With Quote
04-10-08, 09:49 AM   #2
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 1,360
SPELL_INTERRUPT is the event you want.

sourceName will be the unit doing the interrupt
destName the unit interrupted
the first and second extra param (after the base 8) will be
the spellid and name of the spell that did the interrupt (kick, bash etc)
the fourth, fifth and sixth param will be
the spellid, name and magic school of the spell getting interrupted.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Spell interrupted report?

Thread Tools
Display Modes

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