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.

LUA HELP PLEASE

Featured Replies

Ok Im wondering if I could get this to work.

 

name, _, _, _, _, _, expires, _, _, _, _ = UnitDebuff("target", "Savage Roar")
if name = "Savage Roar" then

      retV = 1 end

      retV = 0 else,

secs = (expires - GetTime()) if secs < 3 then

      retV = 1 else

      retV = 0 end

 

accentualy Im wanting it to See Name on Target and recast if Name isnt present, then if Name is Present Look at the Seconds remaining and if its about to expire then recast then spell. If I can get this to work then it will become the default LUA Script used for most toons and their DoT's.

 

these are the scripts Im using as a reference.

 

name, _, _, _, _, _, _, _, _, _, _, = UnitBuff("Target", "Rip")
if name == "Rip" then

      retV = 1 end

      retV = 0 else

_, _, _, _, _, _, expires, _, _, _, _ = UnitDebuff("target", "Savage Roar")
secs = (expires - GetTime()) if secs < 3 then

      retV = 1 else

      retV = 0 end

  • Author

do you have a condition that tracks the experation of buffs on target or player? because some moves or actually most moves are best not let drop off most of them are best recast @ 3 sec remaining. i would add that to you condition. thats why i dont use it, its missing thst aspect.

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.