ReporttoZezas.lua 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : Quests/Darklight/ReporttoZezas.lua
  3. Script Purpose : Handles the quest, "Report to Zezas"
  4. Script Author : Cynnar
  5. Script Date : 8/30/2015
  6. Script Notes :
  7. Zone : Darklight Wood
  8. Quest Giver : Laexyra Y'Barriath
  9. Preceded by : Condemned
  10. Followed by : Finding the Dark Bargainers
  11. --]]
  12. function Init(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Zezas X'Zauzin. He should be just inside Neriak.", 1, "I need to speak with Zezas X'Zauzin.", 11, 0)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. end
  16. function QuestComplete(Quest, QuestGiver, Player)
  17. UpdateQuestDescription(Quest, "I have spoken with Zezas X'Zauzin.")
  18. GiveQuestReward(Quest, Player)
  19. end
  20. function Reload(Quest, QuestGiver, Player, Step)
  21. if Step == 1 then
  22. QuestComplete(Quest, QuestGiver, Player)
  23. end
  24. end
  25. function Accepted(Quest, QuestGiver, Player)
  26. -- Add dialog here for when the quest is accepted
  27. end
  28. function Declined(Quest, QuestGiver, Player)
  29. -- Add dialog here for when the quest is declined
  30. end