I have not uploaded mine due to multiple reasons, mainly is that its not "clean" and alot of stuff that are based on my play style
My TF code
Code:
local sRake, _, _, _, _, _, rakeEndTime = UnitDebuffID("target", 1822, "PLAYER")
local mTigersFury, _, _, _, _, _, mTigersFuryEndTime = UnitBuffID("player",5217)
local mTigersFurystart, mTigersFuryDuration = GetSpellCooldown(5217)
local mTigersFurycooldown = (mTigersFurystart + mTigersFuryDuration - GetTime())
if mTigersFurycooldown < 3 and mTigersFurycooldown > 0 then
return false
end
if sRake then
local finishTime = rakeEndTime - GetTime()
if mTigersFury then
if finishTime < 9 then
return true
end
end
if finishTime < 2.5 then
return true
end
else
return true
end
And here is logic to cancel the Primal Buff
l
Code:
local sPrimalMadness = UnitBuffID("player", 80317)
if sPrimalMadness then
if playerEnergy < 15 then
RunMacroText("/cancelaura "..sPrimalMadness)
end
end