12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- --[[
- Script Name : Quests/Hallmark/obtain_adventurer_class__qpriest.lua
- Script Author : Dorbin
- Script Date : 2023.08.26 03:08:55
- Script Purpose :
- Zone : Hallmark
- Quest Giver:
- Preceded by: None
- Followed by:
- --]]
- function Init(Quest)
- AddQuestStepChat(Quest, 1, "I need to speak with Hierophant Aldalad under the trees south of the Qeynos Claymore in North Qeynos.", 1, "I need to speak with Hierophant Aldalad in North Qeynos.", 11, 2220484)
- AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
- UpdateQuestZone(Quest,"North Qeynos")
- end
- function Accepted(Quest, QuestGiver, Player)
- -- Add dialog here for when the quest is accepted
- end
- function Declined(Quest, QuestGiver, Player)
- -- Add dialog here for when the quest is declined
- end
- function Deleted(Quest, QuestGiver, Player)
- -- Remove any quest specific items here when the quest is deleted
- end
- function QuestComplete(Quest, QuestGiver, Player)
- -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
- UpdateQuestStepDescription(Quest, 1, "I spoke with Hierophant Aldalad.")
- UpdateQuestTaskGroupDescription(Quest, 1, "I spoke with Hierophant Aldalad.")
- UpdateQuestDescription(Quest, "I have contacted Hierophant Aldalad about advancing.")
- GiveQuestReward(Quest, Player)
- end
- function Reload(Quest, QuestGiver, Player, Step)
- if Step == 1 then
- QuestComplete(Quest, QuestGiver, Player)
- end
- end
|