Thread Tools Display Modes
04-07-07, 10:14 AM   #1
Tatheltek
A Cyclonian
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 43
Sword Specialization

Im trying to write a mod that detects when i gain extra attacks from weapons like Thrash Blade or Blinkstrike and abilities like Sword Specialization...

My question is:

Does anyone know what API event that would fire in in the combat log?

I tried the following but its not detecting the command line:

this:RegisterEvent("CHAT_MSG_COMBAT");
this:RegisterEvent("CHAT_MSG_SPELL");
this:RegisterEvent("CHAT_MSG_COMBAT_SELF_HITS");
this:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_SELF_BUFFS");

Sword specialization triggers a line that says "You gain 1 extra attack through Sword Specialization"
  Reply With Quote
04-08-07, 09:42 PM   #2
Riraito
An Aku'mai Servant
 
Riraito's Avatar
Join Date: Dec 2006
Posts: 32
have you tried CHAT_MSG_SYSTEM? not sure if it will work, worth a shot tho
  Reply With Quote
04-09-07, 04:12 AM   #3
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
Might install messageevent to see what event it is
http://www.wowinterface.com/download...sageEvent.html
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Sword Specialization


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