Thread Tools Display Modes
01-21-07, 10:10 AM   #1
Tatheltek
A Cyclonian
AddOn Author - Click to view addons
Join Date: Dec 2006
Posts: 43
Crit Message

I have a self written add on that alerts me to a few things such as when backlash nightfall and nether protection proc by sending a message to the default chat frame...it also sends a message when i get a crit with a spell, saying CRITICAL DAMAGE! in the default chat frame...

My question is how can i include the damage and name of whatever spell I happened to crit with in this message?

I'd like it to say:

CRITICAL DAMAGE! <name of spell> <damage done by spell>

such as

CRITICAL DAMAGE! Shadow Bolt 3055


Theres some addons that do something similar but they all keep record of your highest crits. I dont want to save any info over sessions, simply just display the info in the message.
  Reply With Quote
01-21-07, 11:42 AM   #2
Syzgyn
An Aku'mai Servant
 
Syzgyn's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 37
Check out the Event "UNIT_COMBAT". It has everything you'd need to do that.
  Reply With Quote

WoWInterface » Developer Discussions » General Authoring Discussion » Crit Message


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