9
3

Hodstock.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/Hodstock.lua
  3. Script Author : torsten
  4. Script Date : 2022.07.18 06:07:41
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/CombatModule"
  9. function spawn(NPC)
  10. waypoints(NPC)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function waypoints(NPC)
  19. MovementLoopAddLocation(NPC, -7.81, 3, -19.57, 1, math.random(2,12))
  20. MovementLoopAddLocation(NPC, -3.46, 3.5, -21.79, 1, math.random(2,12))
  21. MovementLoopAddLocation(NPC, 7.94, 4.75, -27.61, 1, math.random(2,12))
  22. MovementLoopAddLocation(NPC, 18.88, 5, -23.11, 1, math.random(2,12))
  23. MovementLoopAddLocation(NPC, 24.79, 5.25, -12.29, 1, math.random(2,12))
  24. MovementLoopAddLocation(NPC, 32.19, 3.5, 1.29, 1, math.random(2,12))
  25. MovementLoopAddLocation(NPC, 19.57, 3.5, 3.37, 1, math.random(2,12))
  26. MovementLoopAddLocation(NPC, 3.06, 2.5, 6.1, 1, math.random(2,12))
  27. MovementLoopAddLocation(NPC, -21.48, 2, -8.8, 1, math.random(2,12))
  28. MovementLoopAddLocation(NPC, -22.21, 3, -29.52, 1, math.random(2,12))
  29. MovementLoopAddLocation(NPC, -2.74, 4.75, -41.91, 1, math.random(2,12))
  30. MovementLoopAddLocation(NPC, -11.8, 3.75, -32.19, 1, math.random(2,12))
  31. MovementLoopAddLocation(NPC, -6.42, 3.25, -19.49, 1, math.random(2,12))
  32. end