MysteriousAssailants.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : Quests/ThunderingSteppes/MysteriousAssailants.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.09.26 06:09:17
  5. Script Purpose :
  6. Zone : ThunderingSteppes
  7. Quest Giver: Reinkor McCollin (2490027)
  8. Preceded by: None
  9. Followed by: Travelers Beware
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "Find and slay ten drowned footsoldiers.", 10, 100, "Reinkor believes that drowned footsoldiers may be responsible for the deaths of his couriers and theft of his merchandise. Find and slay ten drowned footsoldiers.", 611, 2490137)
  13. AddQuestStepCompleteAction(Quest, 1, "Step1Complete")
  14. end
  15. function Step1Complete(Quest, QuestGiver, Player)
  16. UpdateQuestStepDescription(Quest, 1, "I've found and slain ten of the drowned footsoldiers.")
  17. UpdateQuestTaskGroupDescription(Quest, 1, "I was able to track down a group of drowned footsoldiers and destroy wretched souls.")
  18. AddQuestStepChat(Quest, 2, "Return to Reinkor McCollin.", 1, "I was successful in finding a group of drowned footsoldiers and eliminating them. I should return to Reinkor and inform him of the incident.", 11, 2490027)
  19. AddQuestStepCompleteAction(Quest, 2, "Step2Complete")
  20. end
  21. function Step2Complete(Quest, QuestGiver, Player)
  22. GiveQuestReward(Quest, Player)
  23. end
  24. function Accepted(Quest, QuestGiver, Player)
  25. end
  26. function Deleted(Quest, QuestGiver, Player)
  27. end
  28. function Declined(Quest, QuestGiver, Player)
  29. end
  30. function Reload(Quest, QuestGiver, Player, Step)
  31. if Step == 1 then
  32. Step1Complete(Quest, QuestGiver, Player)
  33. elseif Step == 2 then
  34. Step2Complete(Quest, QuestGiver, Player)
  35. end
  36. end