blood_spilled_for_the_blade_maiden.lua 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : Quests/FrostfangSea/blood_spilled_for_the_blade_maiden.lua
  3. Script Purpose : the quest "Blood Spilled for the Blood Maiden"
  4. Script Author : theFoof
  5. Script Date : 2013.6.14
  6. Script Notes :
  7. Zone : Frostfang Sea
  8. Quest Giver : Hillfred Kinloch
  9. Preceded by : None
  10. Followed by : Skulls for the Taking
  11. --]]
  12. function Init(Quest)
  13. AddQuestRewardCoin(Quest, math.random(5,90), math.random(27,38), 0, 0)
  14. AddQuestStepKill(Quest, 1, "Slay the invading Ry'Gorr!", 8, 100, "Hillfred has ordered you to stain the frozen beachfront south of Cragged Spine with the blood of the charging Ry'Gorr.", 611, 4700117)
  15. AddQuestStepCompleteAction(Quest, 1, "KilledOrcs")
  16. end
  17. function Accepted(Quest, QuestGiver, Player)
  18. FaceTarget(QuestGiver, Player)
  19. conversation = CreateConversation()
  20. PlayFlavor(QuestGiver, "hillfred_kinloch/halas/cragged_spine/hillfred_kinloch_005.mp3", "", "", 106446536, 3096406437, Player)
  21. AddConversationOption(conversation, "Gladly.")
  22. StartConversation(conversation, QuestGiver, Player, "Then do your worst! Stain the frozen beach front with the blood of the charging Ry'Gorr.")
  23. end
  24. function Deleted(Quest, QuestGiver, Player)
  25. end
  26. function Declined(Quest, QuestGiver, Player)
  27. end
  28. function KilledOrcs(Quest, QuestGiver, Player)
  29. UpdateQuestTaskGroupDescription(Quest, 1, "You have slain enough of the invading Ry'Gorr.")
  30. AddQuestStepChat(Quest, 2, "Return to Hillfred Kinloch now that you have slain enough of the invading Ry'Gorr.", 1, "You should return to Hillfred Kinloch, at Cragged Spine, now that you have slain enough of the invading Ry'Gorr.", 0, 4700115)
  31. AddQuestStepCompleteAction(Quest, 2, "CompleteQuest")
  32. end
  33. function CompleteQuest(Quest, QuestGiver, Player)
  34. GiveQuestReward(Quest, Player)
  35. end
  36. function Reload(Quest, QuestGiver, Player, Step)
  37. if Step == 1 then
  38. KilledOrcs(Quest, QuestGiver, Player)
  39. end
  40. end