9
3

questkeyedcheststeel.lua 506 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/questkeyedcheststeel.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.07.29 09:07:41
  5. Script Purpose :
  6. :
  7. --]]
  8. local Polishedsteelkey = 5708 -- quest ID
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, Polishedsteelkey, 1)
  11. end
  12. function casted_on(NPC, Spawn, Spell)
  13. if Spell == 'use your key' then
  14. SetStepComplete(Spawn, Polishedsteelkey, 1)
  15. end
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end