Jump to content

Extracting time left on debuffs in 1.12.1


srazdokunebil
 Share

Recommended Posts

Is it possible to obtain the time left for a debuff applied to a mob using Lua code (or other means) in vanilla 1.12.1?

I've found some conflicting information for UnitDebuff()

I am aware that the C# WRobot function BuffTimeLeft() is explicitly not supported in the 1.12.1 version.  However;  since the client displays debuff countdown timers on the debuff icons, that info is definitely encapsulated in the client.    Does any one have a method to extract it?

 

 

Link to comment
Share on other sites

Good 'ol wacky vanilla API.  I suppose the most reliable method would be to use an event handler to countdown time since the last application of the debuff.  I was wondering if you had a trick under your sleeve-- Thanks for the confirmation and the code example, Matenia.

Happy Festivus!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...