Thread Tools Display Modes
Prev Previous Post   Next Post Next
09-13-08, 06:33 AM   #1
Thaoky
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 30
Event when a profession is abandonned

It would be great to send a CHAT_MSG_SKILL event when a profession is abandonned, currently only SKILL_LINES_CHANGED is sent, but since event is triggered a bit too often, it does not allow proper monitoring of professions.

Thus at this point, it's easier to detect when a new profession is gained than to detect when it's abandonned. If a chat message was sent with a parameter like this:

ERR_SKILL_ABANDONNED_S = "You have abandonned the %s skill."; -- %s is the skill name

I think it would be much easier

Thao

PS: If you guys know valid workarounds, I'm open to suggestions.

Edit: I hooked AbandonSkill to do the trick, but I still think an event would be better

Last edited by Thaoky : 09-13-08 at 06:57 AM.
  Reply With Quote
 

WoWInterface » Developer Discussions » Wish List » Event when a profession is abandonned


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