Looking for either some help (candybar/general ace knowledge) or an author to pick up this idea.
Basically what it would be is one candybar, with a duration of 12 seconds, that refreshes whenever the rogues deadly poison charge changes.
(As far as i know there is no other way to tell if deadly poison is being applied to a target with deadly poisons already on it.)
What would be nice is if we could find the Event associated with buff charge changes and whenever that fires, check (scan the tooltip? im not sure how to do it myself) the current charge count against our last known value.
This addon would be of great value to any raiding rogue who is using windfury on his/her mainhand, it would allow him/her to shiv his poison stack right before it falls off to avoid the loss in dps that accompanies a ticked out poison stack.
Something of a personal preference but, id like to request this addon be standalone from the current timer bars addons like chronometer or FuBarRogueTimerFu.
Edit: Thanks to ilifin who found this:
PLAYER_TARGET_CHANGED is fired when the poison stack changes.
it passes arg's: (quote)
arg 1 will be target
arg 2 will be the name of the poison with rank
arg 3 will be the number of stacks
arg 4 is name of icon
arg 5 is the rank
So basically with this we can check the type of poison (deadly poison of course) and we can check the number of charges.
I've looked further into this and it seems the PLAYER_TARGET_CHANGED with the count of stacks only triggers, as the event suggests, when you change targets (also when the target dies). I also found out that the initial stack of Deadly Poison triggers UNIT_AURA, but not further stacking. CHAT_MSG_SPELL_PERIODIC_CREATURE_DAMAGE goes off once per stack addition with "X is afflicted by Y (stack).", but only from 1-5, it doesn't trigger again if the 5-stack is refreshed. As it is now, I think there is no way to actually know when you refresh a maxed stack of something.
well that's a shame, i still think it would be worth it to write a mod that perhaps checks your remaining poison chargers every 1-2 seconds. Not as nice as an event i know but if its the only way, it's definately worth it.