aGiantslayerbrutePath2.lua 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/aGiantslayerbrutePath2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.16 09:11:47
  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, 14.49, -2.54, -54.5, 2, MakeRandomInt(8,15))
  23. MovementLoopAddLocation(NPC, 14.49, -2.54, -54.5, 2, 0)
  24. MovementLoopAddLocation(NPC, 18.89, -2.54, -53.47, 2, 0)
  25. MovementLoopAddLocation(NPC, 25.99, -2.54, -53.76, 2, 0)
  26. MovementLoopAddLocation(NPC, 30.6, -2.54, -53.16, 2, MakeRandomInt(8,15))
  27. MovementLoopAddLocation(NPC, 30.6, -2.54, -53.16, 2, 0)
  28. MovementLoopAddLocation(NPC, 27, -2.54, -53.13, 2, 0)
  29. MovementLoopAddLocation(NPC, 23.63, -2.59, -50.38, 2, MakeRandomInt(8,15))
  30. MovementLoopAddLocation(NPC, 23.63, -2.59, -50.38, 2, 0)
  31. MovementLoopAddLocation(NPC, 19.31, -2.54, -54.49, 2, MakeRandomInt(8,15))
  32. MovementLoopAddLocation(NPC, 19.31, -2.54, -54.49, 2, 0)
  33. MovementLoopAddLocation(NPC, 26.79, -2.54, -52.52, 2, MakeRandomInt(8,15))
  34. MovementLoopAddLocation(NPC, 26.79, -2.54, -52.52, 2, 0)
  35. MovementLoopAddLocation(NPC, 18.57, -2.54, -53.02, 2, 0)
  36. MovementLoopAddLocation(NPC, 12.01, -2.62, -50.82, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, 12.01, -2.62, -50.82, 2, 0)
  38. MovementLoopAddLocation(NPC, 19.73, -2.54, -55.21, 2, MakeRandomInt(8,15))
  39. MovementLoopAddLocation(NPC, 19.73, -2.54, -55.21, 2, 0)
  40. end