Thread Tools Display Modes
03-30-09, 07:43 PM   #1
upyursh
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2009
Posts: 32
Unit_spellcast_start

is there a way to check the UNIT_SPELLCAST_START event and if the spell is a specific one to stop it from sending the request to the server?

what i'd like to do is track the event, if it is a spell we want to capture stop it from going to the server and run my own function to pick the target.

I also then need the next UNIT_SPELLCAST_START that i trigger in my function to go through without any problems

Thanks in Advanced
  Reply With Quote
03-30-09, 07:56 PM   #2
Shirik
Blasphemer!
Premium Member
WoWInterface Super Mod
AddOn Author - Click to view addons
Join Date: Mar 2007
Posts: 818
You are asking for something Blizzard explicitly doesn't want you to do.

Addons are not to make intelligent decisions. That's what brains are for.
__________________
たしかにひとつのじだいがおわるのお
ぼくはこのめでみたよ
だけどつぎがじぶんおばんだってことわ
しりたくなかったんだ
It's my turn next.

Shakespeare liked regexes too!
/(bb|[^b]{2})/
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Unit_spellcast_start


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