hi there just wondering if someone could point me in the right direction for editing this Feral Pve profile. i relised the problem was that its was constantly trying to pool 90% energy before using attacks so what im after doing is having it use shred at 40 energy and Fb at 60 energy heres how ive tweaked it about if i set shred too 40 it just spams that all the time and never gets too the 60 for fb. Pls some advice would be really helpfull thx
Shred Code
Code:
-- Check for the debuffs.
local hasCatMangle = UnitDebuffID("target", 33876)
local hasBearMangle = UnitDebuffID("target", 33878)
local hasTrauma = UnitDebuffID("target", 46857)
local hasHemorrhage = UnitDebuffID("target", 16511)
local CP = GetComboPoints("player", "target")
local shrip, _, _, _, _, _, shtimer = UnitDebuffID("target", 1079, "PLAYER")
local energy = UnitPower("player") / UnitPowerMax("player") * 100
local berserk = UnitBuffID("player", 50334)
-- Just check for all buffs, we have no casting time on Shred so no need for a timer check
if hasCatMangle ~= nil or hasBearMangle ~= nil or hasTrauma ~= nil or hasHemorrhage ~= nil then
if PQR_NotBehindTarget() then
return false
else
if shrip == nil and CP < 5 or energy > 60 then
return true
end
if shrip ~= nil and CP < 5 and shtimer - GetTime() < 3 or energy > 60 or berserk ~= nil then
return true
end
end
end
FB Code
Code:
local fbrip, _, _, _, _, _, fbtimer = UnitDebuffID("target", 1079, "PLAYER")
local fbCP = GetComboPoints("player", "target")
local fbhealth = 100 * UnitHealth("target") / UnitHealthMax("target")
local fbenergy = UnitPower("player") / UnitPowerMax("player") * 100
if fbhealth <= 100 then
if fbrip ~= nil then
if fbCP == 5 and fbenergy >= 60 then
return true
end
end
else
if fbrip ~= nil then
if fbtimer - GetTime() > 5 and fbenergy >= 60 and fbCP == 5 then
return true
end
end
end
again any help would be really helpful once i get the jist of this ill go about tweaking it all. Thx