9
3

obtain_adventurer_class__qmage.lua 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/Hallmark/obtain_adventurer_class__qmage.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.08.26 03:08:33
  5. Script Purpose :
  6. Zone : Hallmark
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. SetQuestRepeatable(Quest)
  13. AddQuestStepChat(Quest, 1, "I need to speak with Magister Niksel outside the mage tower in South Qeynos.", 1, "I need to speak with Magister Niksel in South Qeynos.", 11, 2310376)
  14. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  15. UpdateQuestZone(Quest,"South Qeynos")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. -- Add dialog here for when the quest is accepted
  19. end
  20. function Declined(Quest, QuestGiver, Player)
  21. -- Add dialog here for when the quest is declined
  22. end
  23. function Deleted(Quest, QuestGiver, Player)
  24. -- Remove any quest specific items here when the quest is deleted
  25. end
  26. function QuestComplete(Quest, QuestGiver, Player)
  27. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  28. UpdateQuestStepDescription(Quest, 1, "I spoke with Magister Niksel.")
  29. UpdateQuestTaskGroupDescription(Quest, 1, "I spoke with Magister Niksel.")
  30. UpdateQuestDescription(Quest, "I have contacted Magister Niksel about advancing.")
  31. GiveQuestReward(Quest, Player)
  32. end
  33. function Reload(Quest, QuestGiver, Player, Step)
  34. if Step == 1 then
  35. QuestComplete(Quest, QuestGiver, Player)
  36. end
  37. end