9
3

adiseasedratongaPath4.lua 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/adiseasedratongaPath4.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.04 10:12:18
  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, -177.27, 1.26, 3.05, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, -177.27, 1.26, 3.05, 2, 0)
  38. MovementLoopAddLocation(NPC, -179.84, 1.84, 7.51, 2, 0)
  39. MovementLoopAddLocation(NPC, -179.79, 1.22, 17.7, 2, MakeRandomInt(8,15))
  40. MovementLoopAddLocation(NPC, -179.79, 1.22, 17.7, 2, 0)
  41. MovementLoopAddLocation(NPC, -179.95, 1.78, 11.41, 2, 0)
  42. MovementLoopAddLocation(NPC, -179.93, 1.84, 8.19, 2, 0)
  43. MovementLoopAddLocation(NPC, -177.85, 1.26, 3.38, 2, 0)
  44. MovementLoopAddLocation(NPC, -172.42, 1.58, 0.45, 2, 0)
  45. MovementLoopAddLocation(NPC, -164.56, 1.34, -0.05, 2, MakeRandomInt(8,15))
  46. MovementLoopAddLocation(NPC, -164.56, 1.34, -0.05, 2, 0)
  47. MovementLoopAddLocation(NPC, -167.88, 1.34, -0.15, 2, 0)
  48. MovementLoopAddLocation(NPC, -170, 1.63, 3.13, 2, 0)
  49. MovementLoopAddLocation(NPC, -169.79, 1.42, 2.27, 2, MakeRandomInt(8,15))
  50. MovementLoopAddLocation(NPC, -169.79, 1.42, 2.27, 2, 0)
  51. MovementLoopAddLocation(NPC, -169.25, 1.34, 0.89, 2, 0)
  52. MovementLoopAddLocation(NPC, -171.89, 1.58, 0.03, 2, 0)
  53. MovementLoopAddLocation(NPC, -175.71, 1.26, 1.46, 2, 0)
  54. MovementLoopAddLocation(NPC, -179.08, 1.26, 5.37, 2, 0)
  55. MovementLoopAddLocation(NPC, -180.1, 1.71, 10.48, 2, MakeRandomInt(8,15))
  56. MovementLoopAddLocation(NPC, -180.1, 1.71, 10.48, 2, 0)
  57. MovementLoopAddLocation(NPC, -179.87, 1.26, 5.32, 2, MakeRandomInt(8,15))
  58. MovementLoopAddLocation(NPC, -179.87, 1.26, 5.32, 2, 0)
  59. MovementLoopAddLocation(NPC, -172.95, 1.52, 0.93, 2, 0)
  60. MovementLoopAddLocation(NPC, -169.55, 1.75, -3.46, 2, 0)
  61. MovementLoopAddLocation(NPC, -170.27, 1.34, -2.1, 2, MakeRandomInt(8,15))
  62. MovementLoopAddLocation(NPC, -170.27, 1.34, -2.1, 2, 0)
  63. MovementLoopAddLocation(NPC, -170.79, 1.53, -1.11, 2, 0)
  64. MovementLoopAddLocation(NPC, -168.54, 1.34, -0.15, 2, 0)
  65. MovementLoopAddLocation(NPC, -164.76, 1.34, -0.01, 2, MakeRandomInt(8,15))
  66. MovementLoopAddLocation(NPC, -164.76, 1.34, -0.01, 2, 0)
  67. MovementLoopAddLocation(NPC, -171.21, 1.58, 0.18, 2, 0)
  68. MovementLoopAddLocation(NPC, -174.94, 1.26, 1.33, 2, 0)
  69. MovementLoopAddLocation(NPC, -178.65, 1.26, 5.03, 2, 0)
  70. MovementLoopAddLocation(NPC, -180.14, 1.64, 8.87, 2, 0)
  71. MovementLoopAddLocation(NPC, -179.92, 1.76, 11.48, 2, MakeRandomInt(8,15))
  72. MovementLoopAddLocation(NPC, -179.92, 1.76, 11.48, 2, 0)
  73. MovementLoopAddLocation(NPC, -180.22, 1.6, 9.41, 2, 0)
  74. MovementLoopAddLocation(NPC, -182.65, 1.8, 8.99, 2, 0)
  75. MovementLoopAddLocation(NPC, -182.1, 1.69, 9.29, 2, MakeRandomInt(8,15))
  76. MovementLoopAddLocation(NPC, -182.1, 1.69, 9.29, 2, 0)
  77. MovementLoopAddLocation(NPC, -180.53, 1.84, 8.2, 2, 0)
  78. end