Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 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
- -- First aura
- function(values)
- local return_val
- if not is_glowing then
- is_glowing = {}
- end
- if (values[1] and values[2] and values[4] and values[7] and values[9])
- or (values[1] and values[2] and values[4] and values[5])
- or (values[4] and values[6] and values[7] and (values[8] or values[9] or (values[2] and values[3])))
- or (values[1] and values[4] and values[7] and values[8] and values[9])
- then
- is_glowing["first_aura"] = true
- return_val = true
- else
- return_val = false
- end
- WeakAuras.ScanEvents("my_custom_event", is_glowing)
- return return_val
- end
- -- Second aura
- function(values)
- local return_val
- if not is_glowing then
- is_glowing = {}
- end
- if (values[1] and values[2] and values[3])
- or (values[1] and (values[4] or values[5]))
- then
- is_glowing["second_aura"] = true
- return_val = true
- else
- return_val = false
- end
- WeakAuras.ScanEvents("my_custom_event", is_glowing)
- return return_val
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement