Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(values)
- -- 1 = Sidewinders UP. 2 = Marking Targets. 3 = Vulnerable NA
- -- 4 = Marked Shot NA. 5 = Focus < 40. 6 = Sidewinders 2 stack
- -- 7 = Barrage NA. 8 = Trueshot. 9 = Focus < 90
- local sw_glow = false
- local mshot_glow = false
- local shouldShow = false
- if values[1] and values[2] and values[4] and values[7] and values[9] then
- shouldShow = true
- elseif values[1] and values[2] and values[4] and values[5] then
- shouldShow = true
- elseif values[4] and values[6] and values[7] and (values[8] or values[9] or (values[2] and values[3])) then
- shouldShow = true
- elseif values[1] and values[4] and values[7] and values[8] and values[9] then
- shouldShow = true
- end
- if shouldShow then
- sw_glow = true
- WeakAuras.ScanEvents("MarksGlow",sw_glow,mshot_glow)
- return true
- else
- WeakAuras.ScanEvents("MarksGlow",sw_glow,mshot_glow)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement