Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TReX.class.shaman_check = function()
- for k, v in pairs(TReX.prios.Shaman) do
- if table.index_of(t.affliction, k) then -- if your actually afflicted then swap prio.
- if TReX.prios.Current[k] ~= TReX.prios.Shaman[k] then
- TReX.prios.switchPrios(k,TReX.prios.Shaman[k])
- end
- end
- end
- if t.affs.aeon and t.affs.relapsing and t.class["shaman"].enabled then
- send("curing predict " .. aff, false)
- t.affs.relapsing = false
- end
- local ginseng = t.stacks["ginseng"]
- local kelp = t.stacks["kelp"]
- local bleedthreshold = TReX.stats.maxh * .071333 --- equals 349.7978~
- local throttle_damage = TReX.stats.h - (TReX.stats.maxh * 0.4) --was .025
- if (ginseng > kelp) or (t.affs.bleeding > throttle_damage / 6.4) or (t.affs.bleeding > bleedthreshold) then
- if isPrompt() then TReX.alert.echo("G.T.F.O LOCK COMING (sli) >>>>COAG<<<<", false) end
- send("curing priority " .. "haemophilia" .. " " .. TReX.prios.Default["paralysis"], false)
- send("curing priority " .. "paralysis" .. " " .. TReX.prios.Default["haemophilia"], false)
- elseif (kelp > ginseng) then
- TReX.prios.affPrioRestore("haemophilia")
- TReX.prios.affPrioRestore("paralysis")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement