You had a typo in shadow stab lol
I think your issue is in the buff check for LB, you don't check for bleed you check for the buff you then check timeleft on.
I am testing this atm.
Code: Select all
local target = player:getTarget();
if arg1.Name == "ROGUE_WOUND_ATTACK" then
if target:hasBuff(620313) and target:hasBuff(620314) then
return true
else
return false
end
elseif arg1.Name == "ROGUE_LOW_BLOW" then
if target:hasBuff(620313) then -- Bleed
LBBuff = target:getBuff(620314) -- Grevious Wound
if LBBuff and LBBuff.TimeLeft >= 3 then
if player.Energy >= 60 then
return true
else
return false
end
end
end
elseif arg1.Name == "ROGUE_SHADOWSTAB" then
SSBuff = target:getBuff(620313)
if SSBuff and SSBuff.TimeLeft >= 3 then
return false
end
end
So theory is,
uses ROGUE_WOUND_ATTACK if other 2 buffs are on target.
uses ROGUE_SHADOWSTAB if no bleed or bleed less than 4 seconds
uses ROGUE_LOW_BLOW if bleed and grievous wound is less than 4 seconds but it will also use the skill if Energy is above 60 regardless of time left on grievous wound.
I do this because otherwise the bot just sits there waiting for buffs to wear off even if it has full Energy, I say if you have it then use it and Low Blow seems to do better damage than Shadow stab, but that is just my theory.
Points at "Energy thief" which keeps you at full energy for 15 seconds
Boss fight it looked like this.
Code: Select all
Use MACRO: ROGUE_INFORMER =>
Use MACRO: ROGUE_ENERGY_THIEF =>
Use MACRO: ROGUE_FERVENT_ATTACK=>
Use MACRO: ROGUE_ASSASSINS_RAGE=>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_SHADOWSTAB =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_WOUND_ATTACK =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_SHADOWSTAB =>
Use MACRO: ROGUE_WOUND_ATTACK =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_WOUND_ATTACK =>
Use MACRO: ROGUE_SHADOWSTAB =>
Use MACRO: ROGUE_WOUND_ATTACK =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_SHADOWSTAB =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_WOUND_ATTACK =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_SHADOWSTAB =>
Use MACRO: ROGUE_WOUND_ATTACK =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_LOW_BLOW =>
Use MACRO: ROGUE_SHADOWSTAB =>