9
3

aGiantslayerbrutePath1.lua 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/aGiantslayerbrutePath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.16 09:11:09
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. dofile("SpawnScripts/Generic/MonsterCallouts/Giantslayer.lua")
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. troll(NPC)
  13. waypoints(NPC)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function waypoints(NPC)
  22. MovementLoopAddLocation(NPC, 1.87, -2.58, -55, 2, MakeRandomInt(8,15))
  23. MovementLoopAddLocation(NPC, 1.87, -2.58, -55, 2, 0)
  24. MovementLoopAddLocation(NPC, -7.61, -2.51, -55.75, 2, 0)
  25. MovementLoopAddLocation(NPC, -21.91, -2.59, -51.93, 2, 0)
  26. MovementLoopAddLocation(NPC, -28.34, -2.82, -49, 2, 0)
  27. MovementLoopAddLocation(NPC, -32.28, -3.65, -46.4, 2, MakeRandomInt(8,15))
  28. MovementLoopAddLocation(NPC, -32.28, -3.65, -46.4, 2, 0)
  29. MovementLoopAddLocation(NPC, -29.2, -2.93, -48.01, 2, 0)
  30. MovementLoopAddLocation(NPC, -24.54, -2.67, -50.65, 2, 0)
  31. MovementLoopAddLocation(NPC, -19.3, -2.51, -52.23, 2, 0)
  32. MovementLoopAddLocation(NPC, -13, -2.51, -53.07, 2, 0)
  33. MovementLoopAddLocation(NPC, -8.82, -2.51, -54.99, 2, 0)
  34. MovementLoopAddLocation(NPC, 8.7, -2.67, -54.65, 2, MakeRandomInt(8,15))
  35. MovementLoopAddLocation(NPC, 8.7, -2.67, -54.65, 2, 0)
  36. MovementLoopAddLocation(NPC, 7.41, -2.67, -54.27, 2, 0)
  37. MovementLoopAddLocation(NPC, 5.85, -2.67, -48.76, 2, MakeRandomInt(8,15))
  38. MovementLoopAddLocation(NPC, 5.85, -2.67, -48.76, 2, 0)
  39. MovementLoopAddLocation(NPC, 5.09, -2.67, -51.9, 2, 0)
  40. MovementLoopAddLocation(NPC, -6.5, -2.51, -57.11, 2, MakeRandomInt(8,15))
  41. MovementLoopAddLocation(NPC, -6.5, -2.51, -57.11, 2, 0)
  42. MovementLoopAddLocation(NPC, -2.67, -2.51, -56.01, 2, 0)
  43. MovementLoopAddLocation(NPC, 8.94, -2.67, -54.34, 2, MakeRandomInt(8,15))
  44. MovementLoopAddLocation(NPC, 8.94, -2.67, -54.34, 2, 0)
  45. end