This project is abandoned and its default file will likely not work with the most recent version of World of Warcraft. Whether this project is out of date or its author has marked it as abandoned, this project is no longer maintained.
Estimated time until current target will die.
/ttd display locked
show display for placement
The display is updated every time the mob's health changes.
There is now libdatabroker support, and the frame is optional.
As an affliction warlock, I've become fond of having "two target frames". One of my target, and another which is my focus target. This, along with macros, allows me to dot up more than one target at a time easily.
The problem is I only have one TimeToDie timer. I need two! Is there a way you could make separate timers for your target and focus target?
If not, maybe you could help me find out which labels I'd have to switch inside the lua code to make a 'copy' of TTD, so that I would have TTD2 in my addon list, which I could activate and set up for my focus target.
Mecdemort- I've been wondering if there's any chance of you adding in a UnitID filter for P1 deathwhisper?
Ie. UnitID=Deathwhisper, mana > 0, look at mana rather than health for the time till death? Could be useful for doing stuff like Full House and determining the best time to stop DPS to get your shit together? I'd be most obliged.
A cool feature would be to make icons (most useful for dots, but also for long casts like fireball) on the action bar gray/red if they take longer than the time to die.
Go to TimeToDie.lua in the addon folder of TimeToDie and find the comment for Core Functions. Under that section there's several adjustable values, e.g. width, height.
Especially useful is the line "texture:SetTexture(0, 0, 0, 0.5)" which I used to blend it in my UI. Last number is the alpha value of the frame so by setting it to 0 will fade the background away and leave you only the numbers/text. I assume that the first 3 numbers are for RGB color values so fiddle around with them if you need to change the color of the box.
Be sure to reloadUI or logout/login after doing these changes.
Oh yeah, as a good tip to keep it from being visible when out of combat, I use Kong UI hider on the TTD frame so it only shows in combat or on mouseover. Not sure if this behaviour is configurable within TTD ..
Can you explain a bit on the algorithm we can choose ? Wich one is the best ? Is there a difference ? Long fight Short fights ? ^^
The problem is I only have one TimeToDie timer. I need two! Is there a way you could make separate timers for your target and focus target?
If not, maybe you could help me find out which labels I'd have to switch inside the lua code to make a 'copy' of TTD, so that I would have TTD2 in my addon list, which I could activate and set up for my focus target.
Thanks in advance!
Ie. UnitID=Deathwhisper, mana > 0, look at mana rather than health for the time till death? Could be useful for doing stuff like Full House and determining the best time to stop DPS to get your shit together? I'd be most obliged.
Forgot to take out some debugging code trying to pinpoint a typo, thanks.
Ver r81. Every time you target a mob it spams "target" in the chat window and if you target a NPC it spams "nil". Thank you for a great mod
The error is:
[string "*:OnClick"]:1: attempt to index local 'self' (a nil value)
Especially useful is the line "texture:SetTexture(0, 0, 0, 0.5)" which I used to blend it in my UI. Last number is the alpha value of the frame so by setting it to 0 will fade the background away and leave you only the numbers/text. I assume that the first 3 numbers are for RGB color values so fiddle around with them if you need to change the color of the box.
Be sure to reloadUI or logout/login after doing these changes.