November 22, 201312 yr 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
November 22, 201312 yr Hello, your script seem good, juste "secs 3< 1" remove "3". But why you don't use Target Buff condition?
November 24, 201312 yr 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