rat_man_bloodsaber_crusade.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : Quests/GraystoneYard/rat_man_bloodsaber_crusade.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.03.09 03:03:41
  5. Script Purpose :
  6. Zone : Graystone Yard
  7. Quest Giver : Watcher Curmogliel
  8. Preceded by : None
  9. Followed by : None
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I must kill four ratonga Bloodsabers.", 4, 100, "I need to slay four ratonga Bloodsabers in the Down Below.", 611, 1990025,1990026,1990027,1990023)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  14. UpdateQuestZone(Quest,"The Down Below")
  15. end
  16. function Step1Complete(Quest,QuestGiver,Player)
  17. UpdateQuestStepDescription(Quest, 1, " I have killed enough ratongas.")
  18. UpdateQuestTaskGroupDescription(Quest, 1, "I have slain four Bloodsabers.")
  19. AddQuestStepChat(Quest, 2, "I need to return to to Watcher Curmogliel.", 1, "I must report my deed to Watcher Curmogliel in Graystone.", 2482, 2350056)
  20. AddQuestStepCompleteAction(Quest, 2, "QuestComplete")
  21. end
  22. function Accepted(Quest, QuestGiver, Player)
  23. -- Add dialog here for when the quest is accepted
  24. end
  25. function Declined(Quest, QuestGiver, Player)
  26. -- Add dialog here for when the quest is declined
  27. end
  28. function Deleted(Quest, QuestGiver, Player)
  29. -- Remove any quest specific items here when the quest is deleted
  30. end
  31. function QuestComplete(Quest, QuestGiver, Player)
  32. UpdateQuestTaskGroupDescription(Quest, 2, "I have reported my success against the Bloodsabers.")
  33. UpdateQuestZone(Quest,"Graystone Yard")
  34. UpdateQuestDescription(Quest, "I have slain the Bloodsabers and shown my faith to Watcher Curmogliel.")
  35. GiveQuestReward(Quest, Player)
  36. end
  37. function Reload(Quest, QuestGiver, Player, Step)
  38. if Step == 1 then
  39. Step1Complete(Quest, QuestGiver, Player)
  40. elseif Step == 2 then
  41. QuestComplete(Quest, QuestGiver, Player)
  42. end
  43. end