hi, im trying to fix up a auto spell reflection in pvp to my arms macro rotation.
/run i,s=UnitCastingInfo,{"Polymorph"=1,"Cyclone"=1}if s[i"target"]or s[i"focus"]or s[i"arena1"]or s[i"arena2"]or s[i"arena3"]or s[i"arena4"]or s[i"arena5"]then EquipItemByName"Shield"; EquipItemByName"1h Weapon" CastSpellByName"Spell Reflection"end
but it doesn't work. I would appreciate some help on this + is it possible have it detect if the target/focus is casting on you?