Can someone help me.
I Have a Mage in Vanilla Wow that I would love to sheep my skull until i tell him to stop it
Added in Partychat Lua
local SpellName = GetSpellInfo(12824)
for i = 1, 4, 1 do
local UnitIdString = "party" .. i .. "target"
if UnitExists(UnitIdString) then
if GetRaidTargetIndex(UnitIdString) == 8 then
CastSpellByName(SpellName, UnitIdString)
return
end
end
end
But comes with and error in game when I ask it to sheep the target