Wazzup!
I got this problem with my script, I can get it work ;(
Code:
function Creature_OnCombat(Unit, Event)
Unit:SendChatMessage(14, 0, "I will put an end to you, mortal!")
end
function Creature_Combat(Unit, Event)
Unit:RegisterEvent("RootEnemies", 500, 1)
end
function RootEnemies(Unit, Event)
Unit:FullCastSpellOnTarget(15474, Unit:GetClosestPlayer())
end
function Creature_Com(Unit, Event)
Unit:RegisterEvent("AoE", 600, 1)
end
function AoE(Unit, Event)
Unit:CastSpellOnTarget(74274, Unit:GetRandomPlayer(7)
end
function Creature_OnLeaveCombat(Unit, Event)
Unit:RemoveEvents()
end
function Creature_OnDied(Unit, Event)
Unit:RemoveEvents()
end
RegisterUnitEvent(370010, 1, "Creature_OnCombat")
RegisterUnitEvent(370010, 1, "Creature_Combat")
RegisterUnitEvent(370010, 1, "Creature_Com")
RegisterUnitEvent(370010, 2, "Creature_OnLeaveCombat")
RegisterUnitEvent(370010, 4, "Creature_OnDied")
Right, I want the boss to say: I will put an end to you, mortal!
Cast a web over on the players and then do remorseless winter.
You've seen my try at scripting it. ;/
//Wille ;D