qeynos_to_freeport__part_2.lua 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/Hallmark/qeynos_to_freeport__part_2.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.28 11:09:33
  5. Script Purpose :
  6. Zone : Hallmark
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStep(Quest, 1, "I need to kill the Queen's bodyguard before it's too late.", 1, 100, "I need to find the bodyguard who holds the key to the Queen's vaults and kill her quickly. She'll probably be found deep inside the mansion. Hopefully she won't have guards of her own.", 11)
  13. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. -- Add dialog here for when the quest is accepted
  17. end
  18. function Declined(Quest, QuestGiver, Player)
  19. -- Add dialog here for when the quest is declined
  20. end
  21. function Deleted(Quest, QuestGiver, Player)
  22. -- Remove any quest specific items here when the quest is deleted
  23. end
  24. function QuestComplete(Quest, QuestGiver, Player)
  25. -- The following UpdateQuestStepDescription and UpdateTaskGroupDescription are not needed, parser adds them for completion in case stuff needs to be moved around
  26. UpdateQuestStepDescription(Quest, 1, "I fought my way to the room where the Queen awaited me.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I've reached the bodyguard only to find out I was sent to assassinate the Queen herself... with every bodyguard present.")
  28. UpdateQuestDescription(Quest, "I've been set up by Cordun and Remy. They backstabbed me by setting me up for the fall, all the while getting a reward for their &quot;heroic&quot; actions. I'll likely be given a life sentence for trying to assassinate the Queen. My life of evil was short and swift. <br> <br>")
  29. GiveQuestReward(Quest, Player)
  30. end
  31. function Reload(Quest, QuestGiver, Player, Step)
  32. if Step == 1 then
  33. QuestComplete(Quest, QuestGiver, Player)
  34. end
  35. end