qstambushbook1.lua 538 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/PeatBog/qstambushbook1.lua
  3. Script Author : Shatou
  4. Script Date : 2020.01.08 08:01:31
  5. Script Purpose :
  6. :
  7. --]]
  8. local AMBUSHED_QUEST_ID = 509
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function casted_on(NPC, Spawn, Message)
  17. if HasQuest(Spawn, AMBUSHED_QUEST_ID) then
  18. if Message == "inspect" then
  19. SetStepComplete(Spawn, AMBUSHED_QUEST_ID, 3)
  20. end
  21. end
  22. end