what kind of pvp are you looking for the Aff Lock? 2,3,5s, or bgs? If your in the arenas main thing to watch then is focus for the cc the lock can do thats not a prob, finding the best way to manage DR is the issue and a way to track trinkets.
i guess I'll play with it.
I'm thinking of adding a counter with a timer to track DR inside the code for fear.
something like this maybe
Code:
local hasFear = UnitDebuff("target", "5782", "player")
local castcount = 0
if castcount <=3 then
castcount = castcount + 1
if hasFear ~= then
return true
end
esleif castcount >=4 then
castcount = 0
return false
end
that would be the basic framework to manage DR. Its not tested nor complete; still prob needs a wait timer.
What it should do is this:
checks how many times you've casted the spell > if casted less than 3 times then cast it. if you casted 3 times then stop and reset counter. this is where the timer part needs to be added in. as it will reset the amount casted and infinite loop starts.