Using JPS a couple years ago, I was able to detect if a spell was stealable (Spellsteal) using the line below in the rotation.
Anyone know of a way to detect if the spell being cast by your target is stealable ?Code:local y=0;for i=1,40 do local n,_,_,_,_,_,_,_,isStealable=UnitAura("target",i);if isStealable==1 then print(n.." on target, steal it!")y=1;end end if y>=1 then end