Just a question, is this normal?
That only spams when there is no player with mana in the group, but it works fine when there is. So, should that spam like that or did I miss something in the script?
The script looks like this
Any feedback would be appreciated.Code:function MalGanis_Sleep(Unit, Event) local chance = math.random(1,2) if(chance == 1) then Unit:PlaySoundToSet(14414) Unit:SendChatMessage(14, 0, "Time out.") Unit:FullCastSpellOnTarget(58849, Unit:GetRandomPlayer(4)) if Unit:GetRandomPlayer(4) == nil then return end end if(chance == 2) then Unit:PlaySoundToSet(14415) Unit:SendChatMessage(14, 0, "You seem tired.") Unit:FullCastSpellOnTarget(58849, Unit:GetRandomPlayer(4)) if Unit:GetRandomPlayer(4) == nil then return end end end