9
3

fewer_orcs_to_worry_about.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/fewer_orcs_to_worry_about.lua
  3. Script Purpose : the quest Fewer Orcs to Worry About
  4. Script Author : theFoof
  5. Script Date : 2013.6.15
  6. Script Notes :
  7. Zone : Frostfang Sea
  8. Quest Giver : Hillfred Kinloch
  9. Preceded by : Green Mystery
  10. Followed by : Geode Caching
  11. --]]
  12. function Init(Quest)
  13. AddQuestRewardCoin(Quest, math.random(5,90), math.random(27,40), 0, 0)
  14. AddQuestStepKill(Quest, 1, "Slay any Ry'Gorr tunnelers you find within the Demon's Delve tunnels.", 8, 100, "Hillfred is sure that the Ry'Gorr that survived the green, billowing clouds have been weakened by it. She has tasked you with returning to the Demon's Delve tunnels.", 611, 4700105)
  15. AddQuestStepCompleteAction(Quest, 1, "KilledOrcs")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. end
  19. function Deleted(Quest, QuestGiver, Player)
  20. end
  21. function Declined(Quest, QuestGiver, Player)
  22. end
  23. function KilledOrcs(Quest, QuestGiver, Player)
  24. UpdateQuestTaskGroupDescription(Quest, 1, "You have slain enough Ry'Gorr tunnelers for Hillfred.")
  25. AddQuestStepChat(Quest, 2, "Return to Hillfred Kinloch now that you have slain so many Ry'Gorr tunnelers from within the Demon's Delve.", 1, "You should return to Hillfred Kinloch, at Cragged Spine, now that you have slain so many Ry'Gorr tunnelers from within the Demon's Delve.", 0, 4700115)
  26. AddQuestStepCompleteAction(Quest, 2, "CompleteQuest")
  27. end
  28. function CompleteQuest(Quest, QuestGiver, Player)
  29. GiveQuestReward(Quest, Player)
  30. end
  31. function Reload(Quest, QuestGiver, Player, Step)
  32. if Step == 1 then
  33. KilledOrcs(Quest, QuestGiver, Player)
  34. end
  35. end