Add TimeToDieAny() to conditions.lua
GreenJeans opened this issue ยท 1 comments
Return the time to die in seconds for any one tagged enemy. Require @params for returning the highest value, or the lowest value.
if BuffPresent(tigers_fury_buff) and Talent(predator_talent) and TimeToDieAny(soonest) < 5 Spell(tigers_fury)
More specifically, for the predator talent, a bleed (thrash_cat, rake, rip) must be up on the target when it dies.
I think this will be relatively simple, at least in the case of predator, and can be modeled off the DebuffRemainingOnAny()
function just with additional checks. Making a broader function I think would be a little harder, but doable.
I'll probably work on this when I have time.