From 34c07a37f9b56db815ce7a14b8ee0d5f8bb66dcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=A6=D0=B2=D0=B5=D1=82=D0=BA?= =?UTF-8?q?=D0=BE=D0=B2?= Date: Tue, 29 Jul 2025 11:40:04 -0400 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20OBWT.lua?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- OBWT.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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