Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Extracting time left on debuffs in 1.12.1

Featured Replies

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?

 

 

  • Author

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!

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.