WoWInterface - View Single Post - Detecting a spell sound or registering a callback on it
View Single Post
03-07-18, 04:13 PM   #7
A Pyroguard Emberseer
semlar's Avatar
AddOn Author - Click to view addons
Join Date: Sep 2007
Posts: 1,059
I would be very surprised if UNIT_SPELLCAST_SUCCEEDED didn't fire for this spell.

Try using RegisterEvent instead of RegisterUnitEvent, and then filter by source after you determine if it fires.

RegisterUnitEvent sometimes doesn't behave the way you would expect it to.

Also don't assume you have the spell IDs correct, watch for the spell name if you need to filter it or just don't filter it at all if it isn't too spammy, then once you know you have the right spell ID you can watch for that.

Occasionally scripted spells aren't considered "cast" by the player and can't be tracked directly, but they're relatively uncommon.

Last edited by semlar : 03-07-18 at 04:40 PM.
  Reply With Quote