qstambushpick.lua 536 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/PeatBog/qstambushpick.lua
  3. Script Author : Shatou
  4. Script Date : 2020.01.08 08:01:15
  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, 2)
  20. end
  21. end
  22. end