9
3

wanted_ithari_kxyrae.lua 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. --[[
  2. Script Name : Quests/Darklight/wanted_ithari_kxyrae.lua
  3. Script Purpose : Handles the quest, "Wanted: Ithari K'Xyrae"
  4. Script Author : Scatman
  5. Script Date : 2009.02.01
  6. Zone : Darklight Wood
  7. Quest Giver: Wanted: Ithari K'Xyrae poster
  8. Preceded by: None
  9. Followed by: None
  10. --]]
  11. function Init(Quest)
  12. -- Blooddrop Loop
  13. -- Morning Dew Trinket
  14. -- Granite Pounded Helm
  15. -- Heavy Plated Shield
  16. -- Faded Wraps
  17. -- Head of Ithari K'Xyrae
  18. AddQuestStepObtainItem(Quest, 1, "I need the head of Ithari K'Xyrae.", 1, 100, ".", 2459, 5622)
  19. AddQuestStepCompleteAction(Quest, 1, "step1_complete_killedIthari")
  20. end
  21. function Accepted(Quest, QuestGiver, Player)
  22. end
  23. function Declined(Quest, QuestGiver, Player)
  24. end
  25. function step1_complete_killedIthari(Quest, QuestGiver, Player)
  26. UpdateQuestStepDescription(Quest, 1, "I have Ithari K'Xyrae's head.")
  27. UpdateQuestTaskGroupDescription(Quest, 1, "I have Ithari K'Xyrae's head.")
  28. AddQuestStepChat(Quest, 2, "I need to bring Ithari K'Xyrae's head to Sselnyl Do'Zylth.", 1, ".", 0, 340087)
  29. AddQuestStepCompleteAction(Quest, 2, "quest_complete")
  30. end
  31. function quest_complete(Quest, QuestGiver, Player)
  32. UpdateQuestDescription(Quest, "I have slain Ithari K'Xyrae and brought her head to Sselnyl Do'Zyth.")
  33. GiveQuestReward(Quest, Player)
  34. end
  35. function Reload(Quest, QuestGiver, Player, Step)
  36. if Step == 1 then
  37. step1_complete_killedIthari(Quest, QuestGiver, Player)
  38. end
  39. end