aLonetuskpawnPath3.lua 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aLonetuskpawnPath3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.06.27 02:06:45
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/MonsterCallouts/LoneTusk2.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. RandomWeapons(NPC)
  13. OrcArmorCommon(NPC)
  14. Lonetusk(NPC)
  15. waypoints(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end
  20. function respawn(NPC)
  21. spawn(NPC)
  22. end
  23. function waypoints(NPC)
  24. MovementLoopAddLocation(NPC, -107.71, -2.63, 21.18, 2, math.random(10,20))
  25. MovementLoopAddLocation(NPC, -101.53, -2.65, 22.66, 2, 0)
  26. MovementLoopAddLocation(NPC, -93.74, -2.66, 20.89, 2, 0)
  27. MovementLoopAddLocation(NPC, -87.03, -2.68, 22.27, 2, 0)
  28. MovementLoopAddLocation(NPC, -85.85, -2.69, 24.25, 2, math.random(10,20))
  29. MovementLoopAddLocation(NPC, -85.85, -2.69, 24.25, 2, 0)
  30. MovementLoopAddLocation(NPC, -85.85, -2.69, 24.25, 2, 0)
  31. MovementLoopAddLocation(NPC, -81.08, -2.7, 23.49, 2, 0)
  32. MovementLoopAddLocation(NPC, -77.19, -2.72, 26.16, 2, 0)
  33. MovementLoopAddLocation(NPC, -74.68, -2.59, 27.54, 2, math.random(10,20))
  34. MovementLoopAddLocation(NPC, -74.68, -2.59, 27.54, 2, 0)
  35. MovementLoopAddLocation(NPC, -76.18, -2.71, 27.64, 2, 0)
  36. MovementLoopAddLocation(NPC, -79.67, -2.73, 29.51, 2, 0)
  37. MovementLoopAddLocation(NPC, -84.2, -2.73, 32.33, 2, 0)
  38. MovementLoopAddLocation(NPC, -88.91, -2.72, 32.33, 2, 0)
  39. MovementLoopAddLocation(NPC, -92.67, -2.7, 29.44, 2, 0)
  40. MovementLoopAddLocation(NPC, -94.39, -2.68, 25.73, 2, 0)
  41. MovementLoopAddLocation(NPC, -98.51, -2.66, 23.94, 2, math.random(10,20))
  42. MovementLoopAddLocation(NPC, -98.51, -2.66, 23.94, 2, 0)
  43. MovementLoopAddLocation(NPC, -97.84, -2.65, 21.52, 2, 0)
  44. MovementLoopAddLocation(NPC, -97.87, -2.64, 19.01, 2, math.random(10,20))
  45. MovementLoopAddLocation(NPC, -97.87, -2.64, 19.01, 2, 0)
  46. MovementLoopAddLocation(NPC, -99.1, -2.64, 20.93, 2, 0)
  47. MovementLoopAddLocation(NPC, -102.72, -2.66, 24.77, 2, 0)
  48. MovementLoopAddLocation(NPC, -106, -2.7, 25.96, 2, math.random(10,20))
  49. MovementLoopAddLocation(NPC, -106, -2.7, 25.96, 2, 0)
  50. MovementLoopAddLocation(NPC, -107.54, -2.63, 22.43, 2, 0)
  51. MovementLoopAddLocation(NPC, -109.77, -2.62, 20.44, 2, 0)
  52. MovementLoopAddLocation(NPC, -114.03, -2.61, 19.5, 2, 0)
  53. MovementLoopAddLocation(NPC, -120.15, -2.59, 18.44, 2, 0)
  54. MovementLoopAddLocation(NPC, -123.54, -2.59, 19.34, 2, math.random(10,20))
  55. MovementLoopAddLocation(NPC, -123.54, -2.59, 19.34, 2, 0)
  56. MovementLoopAddLocation(NPC, -121.57, -2.59, 18.52, 2, 0)
  57. MovementLoopAddLocation(NPC, -116.21, -2.6, 19.25, 2, 0)
  58. end