book.lua 414 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : SpawnScripts/ForestRuins/book.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.02.27 04:02:01
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetRequiredQuest(NPC, 522, 2)
  10. end
  11. function casted_on(NPC, Player, SpellName)
  12. if SpellName == 'search book' then
  13. SetStepComplete(Player, 522, 2)
  14. end
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end