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.

How can I find the time remaining on a buff/debuff?

Featured Replies

First off, I just started using WRotation and I wanted to say thanks. I really like a bot that allows me to write me own profiles.

 

I'm trying to write a profile for raiding on feral druid that uses the icyveins.com rotation for 6.0.2.

 

Is there a way I can check a buff or debuff for it's remaining time?

For instance, I would like to be able to refresh Rip at less than 7 seconds on my target's buff.

I'm using the Rotation Creator to design this and cannot seem to find an acceptable option.

If not, is there a way to find this "time remaining" using a lua script or something?

 

Also, how do profile creators deal with casting healthstones below a specified percentage?

19102.Feral.Druid.xml

Hello,
 
Look this code: 
 
In you case (for spell http://wod.wowhead.com/spell=1079 (id:1079)), to check in your target if remaining time has less than 7 secondes add this lua condition:
 
LuaScript:

local name = GetSpellInfo(1079);
_, _, _, _, _, _, expirationTime = UnitDebuff("target", name);
timeRemaining = expirationTime - GetTime();
if (timeRemaining <= 7) then retV = "1"; else retV = "0"; end

Research:


1

Var:


result
  • 10 years later...

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.