Updated Spell Reflect and Disarm for peoples to try please!!!! <3 So hard trying to test these in BG's >.< things happen to fast to see what I wanna see.... So if you guys have willing friends, try dueling them 
Name: Spell Reflect
Delay: 0
Spell ID: 0
Target: Anything
LUA Code:
Code:
local ReflectID = {
33786, -- Cyclone
28272, -- Pig Poly
118, -- Sheep Poly
61305, -- Cat Poly
61721, -- Rabbit Poly
61780, -- Turkey Poly
28271, -- Turtle Poly
51514, -- Hex
51505, -- Lava Burst
339, -- Entangling Roots
30451, -- Acrane Blast
605 -- Mind Control
}
local CastingTarget = nil
for _, reflectID in ipairs(ReflectID) do
for i=1, 5 do
local aTarget = "arena"..tostring(i)
local inRange = IsSpellInRange(tostring(GetSpellInfo(57755)), aTarget)
if UnitExists(aTarget) and inRange == 1 then
if UnitCastingInfo(aTarget) == GetSpellInfo(reflectID) then
if GetSpellCooldown(23920) == 0 or UnitBuffID("player", 23920) then
local stance = GetShapeshiftForm()
if UnitPower("player") > 15 then
if stance == 1 or stance == 2 then
spellReflect = 1
CastingTarget = aTarget
else
CastSpellByID(2457, "player")
spellReflect = 1
CastingTarget = aTarget
end
end
end
end
end
end
if UnitExists("focus") then
if UnitCastingInfo("focus") == GetSpellInfo(reflectID) then
if GetSpellCooldown(23920) == 0 or UnitBuffID("player", 23920) then
local stance = GetShapeshiftForm()
if UnitPower("player") > 15 then
if stance == 1 or stance == 2 then
spellReflect = 1
CastingTarget = "focus"
else
CastSpellByID(2457, "player")
spellReflect = 1
CastingTarget = "focus"
end
end
end
end
end
if UnitExists("target") then
if UnitCastingInfo("target") == GetSpellInfo(reflectID) then
if GetSpellCooldown(23920) == 0 or UnitBuffID("player", 23920) then
local stance = GetShapeshiftForm()
if UnitPower("player") > 15 then
if stance == 1 or stance == 2 then
spellReflect = 1
CastingTarget = "target"
else
CastSpellByID(2457, "player")
spellReflect = 1
CastingTarget = "target"
end
end
end
end
end
end
if spellReflect == 1 and CastingTarget then
if IsEquippedItemType("Shields") then
if UnitBuffID("player", 23920) and UnitCastingInfo(CastingTarget) then
return true
elseif not UnitCastingInfo(CastingTarget) then
spellReflect = nil
RunMacroText("/equip Ruthless Gladiator's Decapitator")
return true
elseif UnitCastingInfo(CastingTarget) then
CastSpellByID(23920, "player")
return true
end
elseif not IsEquippedItemType("Shields") then
if UnitCastingInfo(CastingTarget) then
RunMacroText("/equip Riftrent Waraxe")
RunMacroText("/equip Catapult Loading Scoop")
return true
elseif not UnitCastingInfo(CastingTarget) then
spellReflect = nil
end
end
elseif IsEquippedItemType("Shields") then
spellReflect = nil
RunMacroText("/equip Ruthless Gladiator's Decapitator")
return true
end
Name: Disarm
Delay: 0
Spell ID: 71
Target: Player
LUA Code:
Code:
local DisarmDebuffs = {31884, 59016, 18499, 2825, 32182, 2825, 32182, 51713, 51271, 33702, 20572, 33697, 99740, 1719, 46924, 12472 }
local DisarmCD = GetSpellCooldown(676)
local stance = GetShapeshiftForm()
if DisarmCD == 0 then
for _, v in ipairs(DisarmDebuffs) do
for i = 1, 5 do
local aTarget = "arena"..tostring(i)
local ainRange = IsSpellInRange(676, aTarget)
if UnitExists(aTarget) and ainRange == 1 then
if UnitBuffID(aTarget, v) then
if stance == 2 then
CastSpellByID(676, aTarget)
return false
else
return true
end
end
end
end
local tinRange = IsSpellInRange(676, "target")
if UnitExists("target") and tinRange == 1 then
if UnitBuffID("target", v) then
if stance == 2 then
CastSpellByID(676, "target")
return false
else
return true
end
end
end
local finRange = IsSpellInRange(676, "focus")
if UnitExists("focus") and finRange == 1 then
if UnitBuffID("focus", v) then
if stance == 2 then
CastSpellByID(676, "focus")
return false
else
return true
end
end
end
end
elseif stance == 2 then
if GetPrimaryTalentTree() ~= 3 then
CastSpellByName(tostring(GetSpellInfo(2457)), "player")
return false
end
end
Same as always, replace the /equip [weapon] with your own weapon names......
Trying a new approach to Disarm... may revert back to old way since I found a workaround my original problem that made me switch styles