TreeBranch.lua 524 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Kugup/TreeBranch.lua
  3. Script Author : neatz09
  4. Script Date : 2023.11.23 07:11:20
  5. Script Purpose :
  6. :
  7. --]]
  8. local quest = 5932
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function casted_on(NPC, Spawn, Message)
  15. if Message == "Break off branch" then
  16. if GetQuestStep(Spawn, quest) == 1 then
  17. AddStepProgress(Spawn, quest, 1, 1)
  18. end
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end