Originally Posted by
xLegendx
Thank you very much btw
Edit: Hmm doesn't seem to work in duels so assume that carries onto arena
Edit: Oh, I was missing an end. It works! Thanks again.
this should work
Code:
local roots = {
96294, --Chains Of Ice
91807, --ShamblingRush
339, -- Entangling Roots
19975, -- Entangling Roots (Nature's Grasp)
45334, -- Immobilized (Wild Charge - Bear)
102359, -- Mass Entanglement
110693, -- Frost Nova (Mage)
19185, -- Entrapment
128405, -- Narrow Escape
50245, -- Pin (Crab)
54706, -- Venom Web Spray (Silithid)
4167, -- Web (Spider)
122, -- Frost Nova
111340, -- Ice Ward
116706, -- Disable
113275, -- Entangling Roots (Symbiosis)
123407, -- Spinning Fire Bloss
113275, -- Entangling Roots (Symbiosis)
87194, -- Glyph of Mind Blast
114404, -- Void Tendril's Grasp
115197, -- Partial Paralysis
64695, -- Earthgrab (Earthgrab Totem)
63685, -- Freeze (Frozen Power)
107566, -- Staggering Shout
39965, -- Frost Grenade
55536, -- Frostweave Net
13099 -- Net-o-Matic
}
for i=1,#roots do
if UnitDebuffID("player",roots[i]) ~= nil then
CastSpellByName(tostring(GetSpellInfo(116841)))
end
end