qst_ambush_site_1.lua 557 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/PeatBog/qst_ambush_site_1.lua
  3. Script Purpose : Handles quest updates for the first ambush site
  4. Script Author : Scatman
  5. Script Date : 2009.05.10
  6. Script Notes :
  7. --]]
  8. local QUEST_3 = 217
  9. function spawn(NPC)
  10. --SetRequiredQuest(NPC, QUEST_3, 1)
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. end
  17. function casted_on(Target, Caster)
  18. if HasQuest(Caster, QUEST_3) and not QuestStepIsComplete(Caster, QUEST_3, 1) then
  19. SetStepComplete(Caster, QUEST_3, 1)
  20. --popup dialog box after inspect
  21. end
  22. end