Thread Tools Display Modes
Prev Previous Post   Next Post Next
07-26-06, 10:14 PM   #1
Lodran
A Defias Bandit
Join Date: Feb 2006
Posts: 2
How to determine why a spellcast failed

I'm working on a plugin that implements a blacklist functionality when casting spells.

Unfortunately, right now it blacklists units for reasons that it shouldn't - for example, when you are stunned, silenced or out of mana.

So, when my SPELLCAST_FAILED event is called, how can I determine why the spell failed, so that I can avoid blacklisting players for stupid reasons?
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » How to determine why a spellcast failed


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