October 29, 201411 yr 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
October 29, 201411 yr 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
March 19, 20251 yr Hello, wManager.Wow.ObjectManager.ObjectManager.Me.GetBuff("Buff name").TimeLeft https://wrobot.eu/byme/doc/html/AllMembers.T-wManager.Wow.Class.Aura.htm
Create an account or sign in to comment