adiseasedratongaPath8.lua 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. --[[
  2. Script Name : SpawnScripts/TheThievesWay_Classic/adiseasedratongaPath8.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.12.07 10:12:06
  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, 19.93, 1.34, 30.03, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, 19.93, 1.34, 30.03, 2, 0)
  38. MovementLoopAddLocation(NPC, 20, 1.34, 56, 2, MakeRandomInt(8,15))
  39. MovementLoopAddLocation(NPC, 20, 1.34, 56, 2, 0)
  40. MovementLoopAddLocation(NPC, 20.17, 1.34, 29.6, 2, 0)
  41. MovementLoopAddLocation(NPC, 18, 1.34, 23.01, 2, 0)
  42. MovementLoopAddLocation(NPC, 11.96, 1.86, 19.84, 2, 0)
  43. MovementLoopAddLocation(NPC, 7.84, 1.34, 19.76, 2, MakeRandomInt(8,15))
  44. MovementLoopAddLocation(NPC, 7.84, 1.34, 19.76, 2, 0)
  45. MovementLoopAddLocation(NPC, 12.59, 1.81, 19.84, 2, 0)
  46. MovementLoopAddLocation(NPC, 18.39, 1.34, 23.97, 2, MakeRandomInt(8,15))
  47. MovementLoopAddLocation(NPC, 18.39, 1.34, 23.97, 2, 0)
  48. MovementLoopAddLocation(NPC, 15.44, 1.34, 20.61, 2, 0)
  49. MovementLoopAddLocation(NPC, 11.82, 1.9, 19.41, 2, MakeRandomInt(8,15))
  50. MovementLoopAddLocation(NPC, 11.82, 1.9, 19.41, 2, 0)
  51. MovementLoopAddLocation(NPC, 15.05, 1.34, 20.43, 2, 0)
  52. MovementLoopAddLocation(NPC, 19, 1.34, 24.49, 2, 0)
  53. MovementLoopAddLocation(NPC, 20.28, 1.34, 33.24, 2, 0)
  54. MovementLoopAddLocation(NPC, 19.82, 1.34, 51.57, 2, MakeRandomInt(8,15))
  55. MovementLoopAddLocation(NPC, 16.73, 1.75, 51.79, 2, 0)
  56. MovementLoopAddLocation(NPC, 17.36, 1.56, 52.04, 2, MakeRandomInt(8,15))
  57. MovementLoopAddLocation(NPC, 17.36, 1.56, 52.04, 2, 0)
  58. MovementLoopAddLocation(NPC, 19.4, 1.34, 52.15, 2, 0)
  59. MovementLoopAddLocation(NPC, 20.25, 1.34, 50.57, 2, 0)
  60. MovementLoopAddLocation(NPC, 19.91, 1.34, 34.62, 2, MakeRandomInt(8,15))
  61. MovementLoopAddLocation(NPC, 19.91, 1.34, 34.62, 2, 0)
  62. MovementLoopAddLocation(NPC, 21.79, 1.42, 37.67, 2, MakeRandomInt(8,15))
  63. MovementLoopAddLocation(NPC, 21.79, 1.42, 37.67, 2, 0)
  64. MovementLoopAddLocation(NPC, 21.02, 1.34, 36.86, 2, 0)
  65. MovementLoopAddLocation(NPC, 20.28, 1.34, 27.29, 2, 0)
  66. MovementLoopAddLocation(NPC, 17.97, 1.34, 23.39, 2, MakeRandomInt(8,15))
  67. MovementLoopAddLocation(NPC, 17.97, 1.34, 23.39, 2, 0)
  68. MovementLoopAddLocation(NPC, 19.25, 1.34, 26.71, 2, MakeRandomInt(8,15))
  69. MovementLoopAddLocation(NPC, 19.25, 1.34, 26.71, 2, 0)
  70. MovementLoopAddLocation(NPC, 18.62, 1.34, 23.39, 2, 0)
  71. MovementLoopAddLocation(NPC, 15.98, 1.34, 20.82, 2, 0)
  72. MovementLoopAddLocation(NPC, 7.13, 1.34, 19.67, 2, MakeRandomInt(8,15))
  73. MovementLoopAddLocation(NPC, 7.13, 1.34, 19.67, 2, 0)
  74. MovementLoopAddLocation(NPC, 13.31, 1.64, 19.66, 2, 0)
  75. MovementLoopAddLocation(NPC, 18.2, 1.34, 22.37, 2, 0)
  76. MovementLoopAddLocation(NPC, 19.17, 1.34, 24.75, 2, 0)
  77. end