9
3

astackofbooks.lua 722 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/astackofbooks.lua
  3. Script Author : torsten\\Dorbin
  4. Script Date : 2022.07.16 07:07:46
  5. Script Purpose :
  6. :
  7. --]]
  8. DeliverHelptoJanusFieri = 5660
  9. function casted_on(NPC, Spawn, SpellName)
  10. if SpellName == 'Pick up journal' then
  11. if GetQuestStep(Spawn, DeliverHelptoJanusFieri) == 2 then
  12. SetStepComplete(Spawn, DeliverHelptoJanusFieri, 2)
  13. SendMessage(Spawn,"You find a tattered journal amidst this stack of materials in the nomads' camp.")
  14. end
  15. end
  16. end
  17. function spawn(NPC)
  18. SetRequiredQuest(NPC, DeliverHelptoJanusFieri, 2)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end