Thread Tools Display Modes
Prev Previous Post   Next Post Next
08-04-16, 03:12 AM   #1
ZikO
An Aku'mai Servant
Join Date: Jun 2008
Posts: 36
Average damage taken within time period

Hello,

I am trying to calculate an average damage taken within last 5 secs.

The reason for that is I have a Blood DK. The new Death Strike ability can heal me by 20% of amount of damage taken within last 5 secs. That's what it says.


So I would like to do an extra progress bar in Weak Aura 2. Right after I start combat, the bar should start progressing from 0% to 100% and would have text stating an approximation of amount of healing calculated from average damage taken.

After using Death Strike, I would like the progress bar to get empty and begin to fill up (like progress bar) up to 100% within 5 secs when Death Strike has been used. Also, if I use DS withing the period of 5 secs, the bar should get empty and start progressing again.

The main problem I have is I don't know which event I should look for. Is it COPMBAT_LOG_UNFILTERED or anything that triggers when my health bar is reduced?
  Reply With Quote
 

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Average damage taken within time period


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