Обновить OBWT.lua
This commit is contained in:
parent
c09c67d851
commit
34c07a37f9
7
OBWT.lua
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user