diff --git a/OBWT.lua b/OBWT.lua index 188824a..8bd77e1 100644 --- a/OBWT.lua +++ b/OBWT.lua @@ -32,6 +32,7 @@ local function tank(cmd) local revenge = 'Ability_Warrior_Revenge' local sunderArmor = 'Ability_Warrior_Sunder' local rend = 'Ability_Gouge' + local shieldBash = 'Ability_Warrior_ShieldBash' local battleShout = 'Ability_Warrior_BattleShout' local heroicStrike = 'Ability_Rogue_Ambush' if UnitExists('target') and UnitCanAttack('player','target') then @@ -40,12 +41,14 @@ local function tank(cmd) CastSpellByName('Bloodrage') elseif buffed('Battle Shout') == nil and isUsable(battleShout) then CastSpellByName('Battle Shout') + elseif isUsable(shieldBash) then + CastSpellByName('Shield Bash') + elseif buffed('Shield Block') == nil then + CastSpellByName('Shield Block') elseif isUsable(revenge) then CastSpellByName('Revange') elseif isUsable(sunderArmor) and debuffStacks(sunderArmor) < 5 then CastSpellByName('Sunder Armor') - elseif rage > 50 and buffed('Shield Block') == nil then - CastSpellByName('Shield Block') elseif rage > 60 and buffed('Demoralizing Shout', 'target') == nil then CastSpellByName('Demoralizing Shout') elseif rage > 80 and buffed('Rend', 'target') == nil and isUsable(rend) then