PunyScavenger.lua 616 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/PeatBog/PunyScavenger.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.05.18 04:05:17
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function ChooseMovement(NPC)
  11. local route = math.random(1,4)
  12. if route == 1 then
  13. RouteOne(NPC, Spawn)
  14. elseif route == 2 then
  15. RouteTwo(NPC, Spawn)
  16. elseif route == 3 then
  17. RouteThree(NPC, Spawn)
  18. elseif route == 4 then
  19. RouteFour(NPC, Spawn)
  20. end
  21. end
  22. function hailed(NPC, Spawn)
  23. FaceTarget(NPC, Spawn)
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end