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?