afallenassassin133770256.lua 4.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/afallenassassin133770256.lua
  3. Script Purpose : Waypoint Path for afallenassassin133770256.lua
  4. Script Author : Rylec, VO by Premierio015, Skull drop by Jabantiz
  5. Script Date : 07-28-2020 10:35:22
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function waypoints(NPC)
  18. MovementLoopAddLocation(NPC, -123.59, 4.52, -38.77, 7.5, 3)
  19. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  20. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  21. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  22. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  23. MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
  24. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  25. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  26. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  27. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  28. MovementLoopAddLocation(NPC, -123.73, 4.4, -40.89, 7.5, 0)
  29. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  30. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  31. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  32. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  33. MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
  34. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  35. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  36. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  37. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  38. MovementLoopAddLocation(NPC, -123.73, 4.4, -40.89, 7.5, 0)
  39. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  40. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  41. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  42. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  43. MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
  44. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  45. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  46. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  47. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  48. MovementLoopAddLocation(NPC, -123.73, 4.4, -40.89, 7.5, 0)
  49. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  50. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  51. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  52. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  53. MovementLoopAddLocation(NPC, -49.02, 2.16, -153.7, 7.5, 0)
  54. MovementLoopAddLocation(NPC, -69.58, 4.09, -133.64, 7.5, 0)
  55. MovementLoopAddLocation(NPC, -94.43, 4.23, -118.95, 7.5, 0)
  56. MovementLoopAddLocation(NPC, -108.87, 4.28, -103.37, 7.5, 0)
  57. MovementLoopAddLocation(NPC, -132.05, 4.37, -86.94, 7.5, 0)
  58. end
  59. function aggro(NPC, Spawn)
  60. math.randomseed(os.time())
  61. local choice = math.random (1,3)
  62. if choice == 1 then
  63. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_c77d7bff.mp3", "Your eyes are so pretty.", "", 1412152942, 873988632, Spawn)
  64. elseif choice == 2 then
  65. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_2168c5.mp3", "Seek death and it finds you.", "", 2988489621, 1045543573, Spawn)
  66. else
  67. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_aggro_8bc7a2cc.mp3", "Your blood calls to me.", "", 1242322025, 1154999668, Spawn)
  68. end
  69. end
  70. function death(NPC, Spawn)
  71. math.randomseed(os.time())
  72. local choice = math.random(1,2)
  73. if choice == 1 then
  74. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_ff39f327.mp3", "Final death comes at last.", "", 3768284332, 62777040, Spawn)
  75. else
  76. PlayFlavor(NPC, "voiceover/english/skeleton_base_1/ft/skeleton/skeleton_base_1_1_death_fbcb503b.mp3", "Rest in peace.", "", 3591309093, 1423656405, Spawn)
  77. end
  78. end
  79. --[[
  80. Following is Jab's original code:
  81. if IsPlayer(Spawn) then
  82. local chance = math.random(1, 100)
  83. if chance <= 35 then
  84. local skull = SpawnMob(GetZone(Spawn), 2530192, false, GetX(NPC), GetY(NPC), GetZ(NPC))
  85. if skull ~= nil then
  86. SpawnSet(skull, "expire", "1000")
  87. --]]