draconicwidget22.lua 463 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/ObeliskLostSouls/draconicwidget22.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.06.01 08:06:31
  5. Script Purpose :
  6. :
  7. --]]
  8. local Drag = 5577
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Drag, 24)
  11. end
  12. function casted_on(NPC, Spawn, SpellName)
  13. if SpellName == 'open the scroll' then
  14. QuestStepIsComplete(Spawn,Drag,24)
  15. end
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end