inner_strength_.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : Quests/RuinsofVarsoon/inner_strength_.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.01.22 09:01:46
  5. Script Purpose :
  6. Zone : RuinsofVarsoon
  7. Quest Giver:
  8. Preceded by: None
  9. Followed by:
  10. --]]
  11. function Init(Quest)
  12. AddQuestStepKill(Quest, 1, "I need to collect five souls from enchanted clays in the Ruins of Varsoon.", 5, 60, "The enchanted clays in the Ruins of Varsoon contain souls of great warriors from the past. I want to collect these souls and learn from their experiences.", 1208, 2560028)
  13. AddQuestStepCompleteAction(Quest, 1, "step1_complete_Golems")
  14. end
  15. function Accepted(Quest, QuestGiver, Player)
  16. end
  17. function Declined(Quest, QuestGiver, Player)
  18. end
  19. function step1_complete_Golems(Quest, QuestGiver, Player)
  20. UpdateQuestStepDescription(Quest, 1, "I have collected the souls.")
  21. UpdateQuestTaskGroupDescription(Quest, 2, "I have slain the clay and collected the souls as well. I feel like I have learned a great deal from them.")
  22. UpdateQuestDescription(Quest, "I have slain the enchanted clays and feel stronger in my knowledge of battle techniques.")
  23. GiveQuestReward(Quest, Player)
  24. end
  25. function Reload(Quest, QuestGiver, Player, Step)
  26. if Step == 1 then
  27. Init(Quest, QuestGiver, Player)
  28. end
  29. end