adiseasedratongaPath6.lua 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/adiseasedratongaPath6.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.06 04:12:21
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. dofile ("SpawnScripts/Generic/MonsterCallouts/BaseRatonga1.lua")
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. ratonga(NPC, Spawn)
  13. class(NPC)
  14. waypoints(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function class(NPC,Spawn)
  23. local class = MakeRandomInt(1,3)
  24. if class == 1 then
  25. SpawnSet(NPC, "class", 1 )
  26. SetSpellList(NPC, 291)
  27. elseif class == 2 then
  28. SpawnSet(NPC, "class", 11)
  29. SetSpellList(NPC, 297)
  30. elseif class == 3 then
  31. SpawnSet(NPC, "class", 31)
  32. SetSpellList(NPC, 294)
  33. end
  34. end
  35. function waypoints(NPC)
  36. MovementLoopAddLocation(NPC, -78.63, 0, -0.03, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, -78.63, 0, -0.03, 2, 0)
  38. MovementLoopAddLocation(NPC, -81.33, 0, -0.02, 2, 0)
  39. MovementLoopAddLocation(NPC, -83.55, 1.01, -0.01, 2, MakeRandomInt(8,15))
  40. MovementLoopAddLocation(NPC, -83.55, 1.01, -0.01, 2, 0)
  41. MovementLoopAddLocation(NPC, -81.05, 0, 0.04, 2, 0)
  42. MovementLoopAddLocation(NPC, -45.81, 0, 0.15, 2, MakeRandomInt(8,15))
  43. MovementLoopAddLocation(NPC, -45.81, 0, 0.15, 2, 0)
  44. MovementLoopAddLocation(NPC, -71.99, 0, -0.24, 2, MakeRandomInt(8,15))
  45. MovementLoopAddLocation(NPC, -71.99, 0, -0.24, 2, 0)
  46. MovementLoopAddLocation(NPC, -68.1, 0.16, -0.06, 2, 0)
  47. MovementLoopAddLocation(NPC, -65.95, 0.26, -2.78, 2, 0)
  48. MovementLoopAddLocation(NPC, -65.66, 0.09, -1.88, 2, MakeRandomInt(8,15))
  49. MovementLoopAddLocation(NPC, -65.66, 0.09, -1.88, 2, 0)
  50. MovementLoopAddLocation(NPC, -65.62, 0, -0.57, 2, 0)
  51. MovementLoopAddLocation(NPC, -63.09, 0, -0.05, 2, 0)
  52. MovementLoopAddLocation(NPC, -56.6, 0.3, -0.14, 2, 0)
  53. MovementLoopAddLocation(NPC, -54.98, 0.26, 2.79, 2, 0)
  54. MovementLoopAddLocation(NPC, -55.37, 0.16, 2.23, 2, MakeRandomInt(8,15))
  55. MovementLoopAddLocation(NPC, -55.37, 0.16, 2.23, 2, 0)
  56. MovementLoopAddLocation(NPC, -56.68, 0.29, 0.38, 2, 0)
  57. MovementLoopAddLocation(NPC, -73.26, 0, -0.16, 2, MakeRandomInt(8,15))
  58. MovementLoopAddLocation(NPC, -73.26, 0, -0.16, 2, 0)
  59. MovementLoopAddLocation(NPC, -48.35, 0, 0.16, 2, MakeRandomInt(8,15))
  60. MovementLoopAddLocation(NPC, -48.35, 0, 0.16, 2, 0)
  61. MovementLoopAddLocation(NPC, -59.18, 0.26, -0.37, 2, MakeRandomInt(8,15))
  62. MovementLoopAddLocation(NPC, -59.18, 0.26, -0.37, 2, 0)
  63. MovementLoopAddLocation(NPC, -69.63, 0, -0.14, 2, 0)
  64. end