aLonetuskpawnPath1.lua 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. --[[
  2. Script Name : SpawnScripts/TheRuins_Classic/aLonetuskpawnPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.06.27 02:06:18
  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, -81.23, -2.72, 28.32, 2, math.random(10,20))
  25. MovementLoopAddLocation(NPC, -81.23, -2.72, 28.32, 2, 0)
  26. MovementLoopAddLocation(NPC, -78.76, -2.75, 34.11, 2, math.random(10,20))
  27. MovementLoopAddLocation(NPC, -78.76, -2.75, 34.11, 2, 0)
  28. MovementLoopAddLocation(NPC, -83.51, -2.74, 33.2, 2, 0)
  29. MovementLoopAddLocation(NPC, -87.66, -2.79, 40.12, 2, math.random(10,20))
  30. MovementLoopAddLocation(NPC, -87.66, -2.79, 40.12, 2, 0)
  31. MovementLoopAddLocation(NPC, -80.81, -2.74, 32.88, 2, 0)
  32. MovementLoopAddLocation(NPC, -79.95, -2.71, 26.69, 2, 0)
  33. MovementLoopAddLocation(NPC, -80.52, -2.69, 22.19, 2, math.random(10,20))
  34. MovementLoopAddLocation(NPC, -80.52, -2.69, 22.19, 2, 0)
  35. MovementLoopAddLocation(NPC, -81.09, -2.7, 24.86, 2, 0)
  36. MovementLoopAddLocation(NPC, -79.53, -2.71, 26.88, 2, 0)
  37. MovementLoopAddLocation(NPC, -75.87, -2.67, 28.44, 2, 0)
  38. MovementLoopAddLocation(NPC, -69.39, -2.55, 28.49, 2, math.random(10,20))
  39. MovementLoopAddLocation(NPC, -69.39, -2.55, 28.49, 2, 0)
  40. MovementLoopAddLocation(NPC, -72.51, -2.55, 28.25, 2, 0)
  41. MovementLoopAddLocation(NPC, -75.66, -2.64, 29.3, 2, 0)
  42. MovementLoopAddLocation(NPC, -78.35, -2.75, 32.73, 2, math.random(10,20))
  43. MovementLoopAddLocation(NPC, -78.35, -2.75, 32.73, 2, 0)
  44. MovementLoopAddLocation(NPC, -77.81, -2.74, 31.38, 2, 0)
  45. MovementLoopAddLocation(NPC, -78.2, -2.73, 28.77, 2, 0)
  46. MovementLoopAddLocation(NPC, -80.83, -2.71, 25.96, 2, math.random(10,20))
  47. MovementLoopAddLocation(NPC, -80.83, -2.71, 25.96, 2, 0)
  48. MovementLoopAddLocation(NPC, -79.45, -2.72, 26.99, 2, 0)
  49. MovementLoopAddLocation(NPC, -78.2, -2.74, 31.16, 2, math.random(10,20))
  50. MovementLoopAddLocation(NPC, -78.2, -2.74, 31.16, 2, 0)
  51. MovementLoopAddLocation(NPC, -79.12, -2.73, 29.1, 2, 0)
  52. end