9
3

aGruttoothprotectorP4.lua 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/aGruttoothprotectorP4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.09.14 04:09:52
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/BaseGoblin2.lua")
  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, -44.02, 2.84, -160.32, 2, 5)
  20. MovementLoopAddLocation(NPC, -12.56, 2.46, -175.21, 2, 0)
  21. MovementLoopAddLocation(NPC, -7.07, 2.44, -180.44, 2, 0)
  22. MovementLoopAddLocation(NPC, -4.41, 2.43, -185.61, 2, 0)
  23. MovementLoopAddLocation(NPC, 6.07, 1.84, -210.59, 2, 0)
  24. MovementLoopAddLocation(NPC, 9.59, 1.83, -215.86, 2, 0)
  25. MovementLoopAddLocation(NPC, 20.74, 1.79, -224.5, 2, 0)
  26. MovementLoopAddLocation(NPC, 30.51, 1.76, -229.48, 2, 0)
  27. MovementLoopAddLocation(NPC, 37.02, 1.73, -230.67, 2, 0)
  28. MovementLoopAddLocation(NPC, 45.57, 1.7, -228.27, 2, 0)
  29. MovementLoopAddLocation(NPC, 49.46, 1.68, -226.92, 2, 0)
  30. MovementLoopAddLocation(NPC, 51.12, 1.68, -224.88, 2, 0)
  31. MovementLoopAddLocation(NPC, 52.95, 1.67, -219.92, 2, 0)
  32. MovementLoopAddLocation(NPC, 59.19, 1.46, -214.6, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, 59.19, 1.46, -214.6, 2, 0)
  34. MovementLoopAddLocation(NPC, 57, 1.38, -216.56, 2, 0)
  35. MovementLoopAddLocation(NPC, 54.7, 1.66, -219.23, 2, 0)
  36. MovementLoopAddLocation(NPC, 52.09, 1.67, -224.31, 2, 0)
  37. MovementLoopAddLocation(NPC, 48.92, 1.74, -227.29, 2, 0)
  38. MovementLoopAddLocation(NPC, 45.64, 1.7, -228.81, 2, 0)
  39. MovementLoopAddLocation(NPC, 38.38, 1.73, -230.77, 2, 0)
  40. MovementLoopAddLocation(NPC, 33.83, 1.74, -230.73, 2, 0)
  41. MovementLoopAddLocation(NPC, 24.61, 1.78, -227.01, 2, 0)
  42. MovementLoopAddLocation(NPC, 12.75, 1.82, -219.32, 2, 0)
  43. MovementLoopAddLocation(NPC, 7.71, 1.84, -214.29, 2, 0)
  44. MovementLoopAddLocation(NPC, -3.6, 2.41, -187.21, 2, 0)
  45. MovementLoopAddLocation(NPC, -7.93, 2.45, -180.18, 2, 0)
  46. MovementLoopAddLocation(NPC, -12.16, 2.46, -175.64, 2, 0)
  47. MovementLoopAddLocation(NPC, -44.02, 2.84, -160.32, 2, 0)
  48. end