local NPC_ID = 85010
local QUEST_ID = 90006
function Quest_OnQuestAccept(event, pPlayer, questId, pQuestGiver)
if(pQuestGiver:GetEntry() == NPC_ID) and (questId == QUEST_ID) then
pQuestGiver:SendChatMessage(42, 0, "Get ready!")
pQuestGiver:RegisterEvent("Kodos_Spawn", 10000, 1)
end
end
function Kodos_Spawn(QuestGiver, Event)
pGuestGiver:SendChatMessage(12, 0, "Watch out!")
pQuestGiver:RegisterEvent("Kodos_Summon", 15000, 5)
end
RegisterServerHook(14, "Quest_OnQuestAccept")
----------Spells------------
function Kodos_Summon(QuestGiver, Event)
QuestGiver:SpawnCreature(85011, -8246, -2606, 133, 0, 14, 0)
end
---------End phases----------