aGruttoothguardPatrol.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothguardPatrol.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.06 08:09:52
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin2.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. waypoints(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, 236.07, -4.98, -13.29, 2, 5)
  22. MovementLoopAddLocation(NPC, 241.23, -3.88, -11.7, 2, 0)
  23. MovementLoopAddLocation(NPC, 248.24, -4.1, -16.27, 2, 0)
  24. MovementLoopAddLocation(NPC, 246.84, -4.09, -21.95, 2, 0)
  25. MovementLoopAddLocation(NPC, 237.62, -4.06, -31.12, 2, 0)
  26. MovementLoopAddLocation(NPC, 236.15, -4.05, -34.65, 2, 0)
  27. MovementLoopAddLocation(NPC, 234.66, -1.22, -51.2, 2, 0)
  28. MovementLoopAddLocation(NPC, 237.83, -1.05, -64.93, 2, 0)
  29. MovementLoopAddLocation(NPC, 237.26, -1.05, -71.26, 2, 0)
  30. MovementLoopAddLocation(NPC, 226.8, -1.01, -93.55, 2, 0)
  31. MovementLoopAddLocation(NPC, 218.61, -0.89, -99.58, 2, 0)
  32. MovementLoopAddLocation(NPC, 213.62, -0.96, -102.6, 2, 0)
  33. MovementLoopAddLocation(NPC, 209.35, -0.75, -112.45, 2, math.random(5,10))
  34. MovementLoopAddLocation(NPC, 209.35, -0.75, -112.45, 2, 0)
  35. MovementLoopAddLocation(NPC, 210.85, -0.75, -108.15, 2, 0)
  36. MovementLoopAddLocation(NPC, 214.66, -0.96, -102.82, 2, 0)
  37. MovementLoopAddLocation(NPC, 218.18, -0.89, -100.06, 2, 0)
  38. MovementLoopAddLocation(NPC, 224.6, -1, -96.03, 2, 0)
  39. MovementLoopAddLocation(NPC, 231.18, -1.02, -87.54, 2, 0)
  40. MovementLoopAddLocation(NPC, 237.18, -1.05, -68.58, 2, 0)
  41. MovementLoopAddLocation(NPC, 237.1, -1.05, -63.46, 2, 0)
  42. MovementLoopAddLocation(NPC, 235.12, -1.04, -56.15, 2, 0)
  43. MovementLoopAddLocation(NPC, 235.68, -4.05, -36.39, 2, 0)
  44. MovementLoopAddLocation(NPC, 237.94, -4.06, -31.08, 2, 0)
  45. MovementLoopAddLocation(NPC, 243.4, -4.08, -25.68, 2, 0)
  46. MovementLoopAddLocation(NPC, 247.8, -4.1, -19.6, 2, 0)
  47. MovementLoopAddLocation(NPC, 247.53, -4.1, -10.27, 2, 0)
  48. MovementLoopAddLocation(NPC, 242.35, -3.89, -10.1, 2, 0)
  49. end