Originally Posted by
cukiemunster
How would I re-work Ferocious Bite to be used regardless of how many combo points there are if boss < 60%, and there is less than like 3 seconds before Rip falls off? This would be great for fights like Morchok and Yorsahj where you are target switching, or have to move from boss and Rip ends up falling off before FB gets 5 CP and is used.
From my profile
Code:
local sRip, _, _, _, _, _, ripEndTime = UnitDebuffID("target", 1079, "PLAYER")
local playerCP = GetComboPoints("player", "target")
local targetHP = 100 * UnitHealth("target") / UnitHealthMax("target")
local ripHealth = 60
local Berserk = UnitBuffID("player", 50334)
local SavageRoar, _, _, _, _, _, SavageRoarEndTime = UnitBuffID("player", 62071)
if sRip then
ripFinishTime = ripEndTime - GetTime()
if targetHP < ripHealth then
if ripFinishTime < 2 and playerCP >= 1 then
return true
end
if playerCP == 5 then
return true
end
end
if playerCP == 5 and Berserk and ripFinishTime > 5 then
if SavageRoar then
local SavageRoarFinishTime = SavageRoarEndTime - GetTime()
if SavageRoarFinishTime > 3 then
return true
end
end
end
end
Set ripHealth based if you have set bonus or not.