inspecttop01innbookcase.lua 524 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/Castleview/inspecttop01innbookcase.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.01.29 03:01:15
  5. Script Purpose : Quest Lost Book of Arbos
  6. :
  7. --]]
  8. local Arbos = 5468
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Arbos, 3)
  11. end
  12. function casted_on(NPC, Spawn, SpellName)
  13. if SpellName == 'inspect' then
  14. SetStepComplete(Spawn, Arbos, 3)
  15. end
  16. end
  17. function hailed(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end