Get the Desktop App for Battle.net Now
- All your games in 1 place
- Log in once
- Automatic game updates
<Damage taken> / <fight length in seconds> = DPS taken. Recount does this with a handy little addon I call a "calculator."This doesn't help me whatsoever. I need to know my damage taken every second, not my overall DPS taken.
If you want to write an addon yourself, and prefer to keep it simple, you may be interested in the UNIT_COMBAT event. It was used by some solo dps meters (and partly by Satrina's awesome tanking-centric dps meter) back in vanilla before they overhauled the combat log events.
This short script will keep a running total of incoming damage and print out the total damage, duration and DPS in. As in all dps meters, the "s" in the dps is sort of arbitrary. This script starts a timer at the first attempt to damage you, and ends when you either leave combat or a 5 second timeout. Within that block of time, the duration of damage is defined as the difference between the last attempted damage and the first attempted damage. (so hits at 0, 2, 3, then no hits for 5 seconds will be a 3 sec duration, not 8)
COMBAT_LOG_EVENT_UNFILTERED is by far a better event for detailed tracking. You may notice in the comments that a BLOCK action only happens on a full block. UNIT_COMBAT will accurately report the remaining damage you take on a block but it won't tell you that part of it was blocked. You'll get WOUND with the remaining damage instead.
Edited by Ro on 10/9/2012 11:36 PM PDT
If you want to write an addon yourself, and prefer to keep it simple, you may be interested in the UNIT_COMBAT event. It was used by some solo dps meters (and partly by Satrina's awesome tanking-centric dps meter) back in vanilla before they overhauled the combat log events.Do you do this for a living? You are my personal idol on these forums. This is far better than my sloppy implementation where I recorded my health and printed the difference every x seconds.
Edited by Thirkfifty on 10/10/2012 1:24 AM PDT
Threats of violence. We take these seriously and will alert the proper authorities.
Posts containing personal information about other players. This includes physical addresses, e-mail addresses, phone numbers, and inappropriate photos and/or videos.
Harassing or discriminatory language. This will not be tolerated.