9
3

deadly_undead.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/Antonica/deadly_undead.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.05.17 11:05:15
  5. Script Purpose :
  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. AddQuestStepKill(Quest, 1, "Slay the Caltorsis Clerics", 20, 100, "This journal must have been lost several years ago.", 611,120131)
  15. AddQuestStepCompleteAction(Quest, 1, "QuestComplete")
  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 have slain enough Caltorsis Clerics")
  29. UpdateQuestTaskGroupDescription(Quest, 1, "I have been able to rid antonica of several Caltorsis Clerics")
  30. UpdateQuestDescription(Quest, "The undead Caltorsis in this area seem to be unaffected by my efforts. However, I have learned a great deal about the undead of Antonica. In the future, perhaps this experience will be of some use to me. ")
  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