Originally Posted by
domestecus
I saw your reply to this but can you please explain what needs to be done, do you just copy paste that into the code or do you replace something. Maybe someone can change and re upload, please?
Change to DS:
Code:
local DS = GetShapeshiftForm()
local _, CD = GetSpellCooldown(23920)
local Disarm = UnitDebuffID("target", 676)
local Spell,_,_,_,_,_,_,_,_ = UnitCastingInfo("target")
local _, DisarmCD = GetSpellCooldown(676)
local DisarmDebuffs = {31884, 59016, 18499, 2825, 32182, 2825, 32182, 51713, 51271, 33702, 20572, 33697, 99740, 1719, 46924, 12472 }
if DisarmCD == 0 then
for i, v in ipairs(DisarmDebuffs) do
if UnitBuffID("target", v) then
if DS ~= 2 and Disarm == nil then
return true
end
end
end
end
if Spell == ("Arcane Blast") or Spell == ("Cyclone") or Spell == ("Mind Control") or Spell == ("Polymorph") or Spell == ("Lava Burst") or Spell == ("Entangling Roots") or Spell == ("Hex") then
if DS ~= 2 and CD == 0 then
RunMacroText("/equip Vicious Gladiator's Hacker")
RunMacroText("/equip Vicious Gladiator's Shield Wall")
return true
end
end
don't forget to edit this to you're own shield set weapons/shield
and
Disarm:
Code:
local _, DisarmCD = GetSpellCooldown(676)
local DS = GetShapeshiftForm()
local DisarmDebuffs = {31884, 59016, 18499, 2825, 32182, 2825, 32182, 51713, 51271, 33702, 20572, 33697, 99740, 1719, 46924, 12472 }
if DisarmCD == 0 then
for i, v in ipairs(DisarmDebuffs) do
if UnitBuffID("target", v) then
if DS == 2 then
return true
end
end
end
end