quest_iksar_shackles.lua 571 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : quest_iksar_shackles.lua
  3. Script Purpose : Iksar Shackles for quest 152
  4. Script Author : Xanibunib
  5. Script Date : 4.1.2009
  6. Script Notes : <special-instructions>
  7. --]]
  8. -- Quest ID's
  9. local QUEST_3 = 342 --152 --Paying homage to the past--
  10. function spawn(NPC)
  11. SetRequiredQuest(NPC, QUEST_3, 4)
  12. end
  13. function hailed(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. end
  17. function casted_on(NPC, Spawn, Message)
  18. if HasQuest(Spawn, QUEST_3) and GetQuestStep(Spawn, QUEST_3) == 4 and Message == "take the shackles" then
  19. SetStepComplete(Spawn, QUEST_3, 4)
  20. end
  21. end