anorcishkey.lua 471 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Blackburrow/anorcishkey.lua
  3. Script Author : Premierio015
  4. Script Date : 2022.07.30 10:07:58
  5. Script Purpose :
  6. :
  7. --]]
  8. local OrcishManacles = 5698
  9. function spawn(NPC)
  10. SetRequiredQuest(NPC, OrcishManacles, 1)
  11. end
  12. function casted_on(NPC, Spawn, Spell)
  13. if Spell == 'Open Chest' then
  14. SetStepComplete(Spawn, OrcishManacles, 1)
  15. end
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end