aLonetuskpawnPath2.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aLonetuskpawnPath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.06.27 02:06:47
  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, -89.52, -2.68, 23.61, 2, math.random(10,20))
  25. MovementLoopAddLocation(NPC, -89.52, -2.68, 23.61, 2, 0)
  26. MovementLoopAddLocation(NPC, -87.3, -2.69, 25.82, 2, math.random(10,20))
  27. MovementLoopAddLocation(NPC, -87.3, -2.69, 25.82, 2, 0)
  28. MovementLoopAddLocation(NPC, -89.33, -2.68, 24.98, 2, 0)
  29. MovementLoopAddLocation(NPC, -92.02, -2.69, 26.23, 2, 0)
  30. MovementLoopAddLocation(NPC, -95.46, -2.7, 31.45, 2, math.random(10,20))
  31. MovementLoopAddLocation(NPC, -95.46, -2.7, 31.45, 2, 0)
  32. MovementLoopAddLocation(NPC, -91.9, -2.69, 27.23, 2, 0)
  33. MovementLoopAddLocation(NPC, -89.04, -2.69, 26.08, 2, 0)
  34. MovementLoopAddLocation(NPC, -87.54, -2.7, 26.64, 2, math.random(10,20))
  35. MovementLoopAddLocation(NPC, -87.54, -2.7, 26.64, 2, 0)
  36. MovementLoopAddLocation(NPC, -88.32, -2.68, 24.14, 2, 0)
  37. MovementLoopAddLocation(NPC, -87.64, -2.67, 20.09, 2, 0)
  38. MovementLoopAddLocation(NPC, -86.5, -2.66, 18.56, 2, math.random(10,20))
  39. MovementLoopAddLocation(NPC, -86.5, -2.66, 18.56, 2, 0)
  40. MovementLoopAddLocation(NPC, -88.83, -2.67, 20.77, 2, math.random(10,20))
  41. MovementLoopAddLocation(NPC, -88.83, -2.67, 20.77, 2, 0)
  42. MovementLoopAddLocation(NPC, -88.02, -2.67, 21.55, 2, 0)
  43. MovementLoopAddLocation(NPC, -87.38, -2.68, 24.06, 2, 0)
  44. MovementLoopAddLocation(NPC, -87.67, -2.7, 27.01, 2, math.random(10,20))
  45. MovementLoopAddLocation(NPC, -87.67, -2.7, 27.01, 2, 0)
  46. MovementLoopAddLocation(NPC, -88.72, -2.69, 25.7, 2, 0)
  47. MovementLoopAddLocation(NPC, -91.63, -2.67, 23.77, 2, 0)
  48. MovementLoopAddLocation(NPC, -96.21, -2.66, 22.17, 2, math.random(10,20))
  49. MovementLoopAddLocation(NPC, -96.21, -2.66, 22.17, 2, 0)
  50. MovementLoopAddLocation(NPC, -94.73, -2.67, 24.62, 2, 0)
  51. MovementLoopAddLocation(NPC, -94.19, -2.69, 29.19, 2, math.random(10,20))
  52. MovementLoopAddLocation(NPC, -94.19, -2.69, 29.19, 2, 0)
  53. MovementLoopAddLocation(NPC, -90.23, -2.69, 27.02, 2, math.random(10,20))
  54. MovementLoopAddLocation(NPC, -90.23, -2.69, 27.02, 2, 0)
  55. MovementLoopAddLocation(NPC, -92.12, -2.67, 23.34, 2, 0)
  56. end