Hey,
I need a LUA Script for attacking rnd players in raid.
.. i heard it should be like this
function Cast[SpellID](unit)
local plr = unit:GetRandomPlayer()
if (plr ~= nil) then
unit:FullCastSpellOnTarget([SpellID],plr)
end
end
But i dont know how to use it :O
Can someone help me plz?