Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function(t)
- --if frost:
- --t1: Cold Heart==20, t2: Cold Heart>=10, t3: Pillar Of Frost<=3
- --t4: Unholy Strength, t5: Concordance
- --t7: POF CD > 6, t8: CH >16, t9: POF running, t10: POF off cd
- local aura_env = aura_env
- if GetSpecialization() == 2 then
- if t[1] then
- --20 stacks CH
- if t[7] and t[4] then
- --if POF on CD for a bit and UNH STR is up
- PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\TempleBellHuge.ogg")
- return true
- end
- if t[9] or t[10] or t[6] then
- --if POF ready, or POF running, or Timer expires
- PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\TempleBellHuge.ogg")
- return true
- else --need to wait
- -- CH at 20 stacks and need to wait 5 seconds rechecking to see if theres a proc otherwise tell to cast
- C_Timer.After(5,function() WeakAuras.ScanEvents("CHAINS_TIMEOUT") end)
- end
- elseif t[2] and t[3] then
- -->10 stacks and POF <= 3
- PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\TempleBellHuge.ogg")
- return true
- elseif t[8] and t[4] and t[7] then
- -- CH>16, UH up, POF on CD
- PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\TempleBellHuge.ogg")
- return true
- end
- elseif GetSpecialization() == 3 then
- --if unholy:
- --t4: Unholy Strength, t5: Concordance
- --if t1==20 and (t4 or t5) playsoundfile and return true
- if t[1] then
- if t[4] or t[5] or t[6] then
- PlaySoundFile("Interface\\AddOns\\WeakAuras\\Media\\Sounds\\TempleBellHuge.ogg")
- return true
- else --need to wait
- C_Timer.After(5,function() WeakAuras.ScanEvents("CHAINS_TIMEOUT") end)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement