AncientStatue.lua 488 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/DownBelow/AncientStatue.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.01.08 04:01:07
  5. Script Purpose :
  6. :
  7. --]]
  8. local Scepter = 5369 -- An Ancient Scepter
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Scepter, 1, 1)
  11. end
  12. function casted_on(NPC, Spawn, SpellName)
  13. if SpellName == 'Replace scepter' then
  14. SetStepComplete(Spawn, Scepter, 1)
  15. end
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end