9
3

a_foul_wind.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : Quests/Antonica/a_foul_wind.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.12 03:05:46
  5. Script Purpose : Access to the Firemyst Gully Alternative instance
  6. Zone : Antonica
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. SetQuestFeatherColor(Quest, 3)
  13. SetQuestRepeatable(Quest)
  14. UpdateQuestZone(Quest,"Firemyst Gully: A Foul Wind")
  15. AddQuestStepZoneLoc(Quest, 1, "I need to seek out Firemyst Gully in the center of Antonica.", 10, "I need to seek out Lord Nalin at Firemyst Gully in eastern Antonica.", 2183, -1188.04, -13.62, 706.57,14)
  16. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  17. end
  18. function Accepted(Quest, QuestGiver, Player)
  19. -- Add dialog here for when the quest is accepted
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. -- Add dialog here for when the quest is declined
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. -- Remove any quest specific items here when the quest is deleted
  26. end
  27. function QuestComplete(Quest, QuestGiver, Player)
  28. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  29. UpdateQuestStepDescription(Quest, 1, "I found Lord Nalin, but it was too late.")
  30. UpdateQuestTaskGroupDescription(Quest, 1, "I found and entered Firemyst Gully.")
  31. UpdateQuestDescription(Quest, "Unfortunately it was too late when I arrived at Firemyst Gully. Lord Nalin and his encampment had succumbed to the touch of the Blightwind witches. The whole area will need to be cleansed now.")
  32. GiveQuestReward(Quest, Player)
  33. end
  34. function Reload(Quest, QuestGiver, Player, Step)
  35. if Step == 1 then
  36. QuestComplete(Quest, QuestGiver, Player)
  37. end
  38. end