Обновить OBWT.lua

This commit is contained in:
Олег Цветков 2025-07-28 11:04:50 -04:00
parent a1474496e7
commit 3b4157d855

View File

@ -37,7 +37,7 @@ local function main(cmd)
if (not PlayerFrame.inCombat) then AttackTarget() end if (not PlayerFrame.inCombat) then AttackTarget() end
if rage < 15 and isUsable(bloodrage) then if rage < 15 and isUsable(bloodrage) then
CastSpellByName('Bloodrage') CastSpellByName('Bloodrage')
if PlayerFrame.inCombat and GetUnitName('targettarget')~=GetUnitName('player') then elseif PlayerFrame.inCombat and GetUnitName('targettarget')~=GetUnitName('player') then
CastSpellByName('Taunt') CastSpellByName('Taunt')
elseif buffed('Battle Shout') == nil and isUsable(battleShout) then elseif buffed('Battle Shout') == nil and isUsable(battleShout) then
CastSpellByName('Battle Shout') CastSpellByName('Battle Shout')