BloodSabers.lua 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  1. --[[
  2. Script Name : SpawnScripts/Generic/MonsterCallouts/BloodSabers.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.13 03:09:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function Garbled(NPC,Spawn)
  9. if GetGender(NPC) ==2 then
  10. local choice = MakeRandomInt(1,3)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_2_garbled_gf_5c77ba46.mp3", "Chee ava kirAH tay!", "", 4059494475, 924700666, Spawn, 26)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_2_garbled_gm_5c77ba46.mp3", "Chee ava kirAH tay!", "", 1940215504, 447502824, Spawn, 26)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_2_garbled_gf_bc265d9b.mp3", "EeeSIP qweek MEEerallow neep", "", 1297314416, 2158933523, Spawn, 26)
  17. end
  18. else
  19. local choice = MakeRandomInt(1,7)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_1_garbled_gm_5a81ec49.mp3", "Hekveten plava SU klina", "", 2175556278, 29227183, Spawn, 26)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_2_garbled_gm_5c77ba46.mp3", "Chee ava kirAH tay!", "", 1940215504, 447502824, Spawn, 26)
  24. elseif choice == 3 then
  25. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_2_garbled_gm_bc265d9b.mp3", "EeeSIP qweek MEEerallow neep", "", 148555474, 1278831922, Spawn, 26)
  26. elseif choice == 4 then
  27. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_2_garbled_gm_5a81ec49.mp3", "Hekveten plava SU klina", "", 3536439879, 1109691272, Spawn, 26)
  28. elseif choice == 5 then
  29. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_1_garbled_gm_5c77ba46.mp3", "Chee ava kirAH tay!", "", 806743894, 496586204, Spawn, 26)
  30. elseif choice == 6 then
  31. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_1_garbled_gm_21432a6a.mp3", "TravaHAS merallund kBORrten illanya", "", 1269733907, 434806140, Spawn, 26)
  32. elseif choice == 7 then
  33. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_bloodsabers/ft/ratonga/ratonga_bloodsabers_1_garbled_gm_bc265d9b.mp3", "EeeSIP qweek MEEerallow neep", "", 3300712812, 2803842116, Spawn, 26)
  34. end
  35. end
  36. end
  37. --[[
  38. function aggro(NPC,Spawn)
  39. CalloutTimer = true
  40. AddTimer(NPC,7000,"ResetTimer")
  41. if GetGender(NPC)==1 then --GENDER CHECK. 1==Male
  42. if GetClass(Spawn)>=1 and GetClass(Spawn)<=10 or GetClass(Spawn)>=21 and GetClass(Spawn)<=30 then
  43. local choice = MakeRandomInt(1,7) --Mage/Fighter CHECK
  44. else
  45. local choice = MakeRandomInt(1,5)
  46. end
  47. if choice == 1 then
  48. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_aggro_gm_10fd87eb.mp3", "There is no escape for you now!", "", 2989643101, 2260454555)
  49. elseif choice == 2 then
  50. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_aggro_gm_beacbb30.mp3", "I hope you put your affairs in order.", "", 799093996, 16617637)
  51. elseif choice == 3 then
  52. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_aggro_gm_fe18133.mp3", "Look what strolled into the spider's web!", "", 4178015902, 2202039151)
  53. elseif choice == 4 then
  54. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_aggro_gm_10fd87eb.mp3", "There is no escape for you now!", "", 3427660043, 2534456197)
  55. elseif choice == 5 then
  56. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_aggro_gm_fe18133.mp3", "Look what strolled into the spider's web!", "", 1688336194, 2269151294)
  57. elseif choice == 6 or 7 then
  58. if GetClass(Spawn)>=1 and GetClass(Spawn)<=10 then--Fighter CHECK
  59. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_maofighter_gm_c01f2ef8.mp3", "Let's see how good of a fighter you really are!", "", 976101228, 853372931)
  60. else--Mage CHECK
  61. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_maomage_gm_7c1c0586.mp3", "Your pathetic parlor tricks won't save you now, magician!", "", 2940784449, 2243650132)
  62. end
  63. end
  64. else
  65. local choice = MakeRandomInt(1,4)
  66. if choice == 1 then
  67. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_aggro_gf_10fd87eb.mp3", "There is no escape for you now!", "", 3641868496, 1960514853)
  68. elseif choice == 2 then
  69. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_aggro_gf_fe18133.mp3", "Look what strolled into the spider's web!", "", 1570890577, 2869516555)
  70. elseif choice == 3 then
  71. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_aggro_gf_10fd87eb.mp3", "There is no escape for you now!", "", 3743520097, 2328340147)
  72. elseif choice == 4 then
  73. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_aggro_gf_fe18133.mp3", "Look what strolled into the spider's web!", "", 2639788240, 46489616)
  74. elseif choice == 4 then
  75. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_aggro_gf_fe18133.mp3", "Look what strolled into the spider's web!", "", 2332756549, 3562953667)
  76. end
  77. AddTimer(NPC,15000,"FifteenCall")
  78. end
  79. end
  80. function death(NPC,Spawn)
  81. --[[if CalloutTimer == false then
  82. CalloutTimer = true
  83. AddTimer(NPC,7000,"ResetTimer")]]--[[
  84. if GetGender(NPC)==1 then
  85. local choice = MakeRandomInt(1,6)
  86. if choice == 1 then
  87. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_death_gm_25576197.mp3", "I will have vengeance!", "", 360053692, 4149753869)
  88. elseif choice == 2 then
  89. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_death_gm_8d7bb2b9.mp3", "Hold them and I'll return with help!", "", 2338278515, 1160150777)
  90. elseif choice == 3 then
  91. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_death_gm_25576197.mp3", "I will have vengeance!", "", 1315021503, 378441917)
  92. elseif choice == 4 then
  93. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_death_gm_8d7bb2b9.mp3", "Hold them and I'll return with help!", "", 4054713295, 2203944491)
  94. elseif choice == 5 then
  95. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_death_gm_25576197.mp3", "I will have vengeance!", "", 433254383, 1749773166)
  96. elseif choice == 6 then
  97. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_death_gm_8d7bb2b9.mp3", "Hold them and I'll return with help!", "", 1905250318, 2280015161)
  98. end
  99. else
  100. local choice = MakeRandomInt(1,6)
  101. if choice == 1 then
  102. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_death_gf_25576197.mp3", "I will have vengeance!", "", 2208779791, 246336299)
  103. elseif choice == 2 then
  104. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_death_gf_8d7bb2b9.mp3", "Hold them and I'll return with help!", "", 2248940979, 3184577285)
  105. elseif choice == 3 then
  106. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_death_gf_25576197.mp3", "I will have vengeance!", "", 378367578, 835613312)
  107. elseif choice == 4 then
  108. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_death_gf_8d7bb2b9.mp3", "Hold them and I'll return with help!", "", 2832376323, 444359174)
  109. elseif choice == 5 then
  110. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_death_gf_25576197.mp3", "I will have vengeance!", "", 58514974, 479667048, Spawn)
  111. elseif choice == 6 then
  112. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_death_gf_8d7bb2b9.mp3", "Hold them and I'll return with help!", "", 291851398, 546843337)
  113. end
  114. end
  115. end
  116. --end
  117. function FifteenCall(NPC,Player)
  118. if IsInCombat(NPC)==true and IsAlive(NPC) == true and math.random(0,100)<=33 then
  119. --[[ if CalloutTimer == false then
  120. CalloutTimer = true
  121. AddTimer(NPC,7000,"ResetTimer")]]--[[
  122. if GetGender(NPC)==1 then
  123. local choice = MakeRandomInt(1,6)
  124. if choice == 1 then
  125. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_cm_4e66222a.mp3", "You cannot deny the power of hate!", "", 2308305258, 1715309735)
  126. elseif choice == 2 then
  127. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_gm_316a6c63.mp3", "I crave your suffering!", "", 3367682978, 4121942691)
  128. elseif choice == 3 then
  129. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_gm_6806b443.mp3", "You are no match for the Teir'Dal!", "", 2992438842, 2162693039)
  130. elseif choice == 4 then
  131. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_gm_700b6151.mp3", "A feeble attempt from a worthless opponent.", "", 943969253, 2337029939)
  132. elseif choice == 5 then
  133. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_gm_a38dc90c.mp3", "Close in until they can't breathe!", "", 1646052354, 1989688436)
  134. elseif choice == 6 then
  135. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_mm_4832fde6.mp3", "Now, prepare to be eviscerated!", "", 1640233154, 431623172)
  136. end
  137. else
  138. local choice = MakeRandomInt(1,2)
  139. if choice == 1 then
  140. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_gf_a38dc90c.mp3", "Close in until they can't breathe!", "", 2932951909, 3358869262)
  141. elseif choice == 2 then
  142. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_battle_gf_700b6151.mp3", "A feeble attempt from a worthless opponent.", "", 943969253, 2337029939, Spawn) --DOESN"T WORK (needs Key)
  143. end
  144. if IsAlive(NPC)then
  145. AddTimer(NPC,15000,"FifteenCall")
  146. end
  147. end
  148. end
  149. end
  150. function healthchanged(NPC, Spawn)
  151. --[[ if CalloutTimer == false then
  152. CalloutTimer = true
  153. AddTimer(NPC,7000,"ResetTimer")]]--[[
  154. if HealthCallout == false then
  155. if GetHP(NPC) <= GetMaxHP(NPC) * 0.55 and GetHP(NPC) >= GetMaxHP(NPC) * 0.45 then
  156. if GetGender(NPC)==1 then
  157. local choice = MakeRandomInt(1,2)
  158. if choice == 1 then
  159. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_halfhealth_gm_577ab333.mp3", "You'll pay for that one, peon!", "", 1420508530, 39058961)
  160. elseif choice == 2 then
  161. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_halfhealth_gm_9e244d19.mp3", "How dare you!", "", 3305445355, 1846155898)
  162. elseif choice == 3 then
  163. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_halfhealth_gf_9e244d19.mp3", "How dare you!", "", 2263865273, 2956956838)
  164. end
  165. else
  166. local choice = MakeRandomInt(1,5)
  167. if choice == 1 then
  168. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_halfhealth_gf_9e244d19.mp3", "How dare you!", "", 2263865273, 2956956838)
  169. elseif choice == 2 then
  170. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_halfhealth_gf_577ab333.mp3", "You'll pay for that one, peon!", "", 2534123849, 501758946)
  171. elseif choice == 3 then
  172. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_halfhealth_gf_9e244d19.mp3", "How dare you!", "", 2905660023, 2043697886)
  173. elseif choice == 4 then
  174. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_halfhealth_gm_577ab333.mp3", "You'll pay for that one, peon!", "", 475204402, 2998439968)
  175. elseif choice == 5 then
  176. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_halfhealth_gm_9e244d19.mp3", "How dare you!", "", 2287743179, 1322949627)
  177. end
  178. end
  179. end
  180. end
  181. end
  182. --end
  183. function victory(NPC,Spawn)
  184. --[[if CalloutTimer == false then
  185. CalloutTimer = true
  186. AddTimer(NPC,7000,"ResetTimer")]]--[[
  187. if GetGender(NPC)==1 then
  188. local choice = MakeRandomInt(1,3)
  189. if choice == 1 then
  190. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_victory_gm_dff26fa.mp3", "It is a shame we must end it this way ... I could have used you.", "", 1363661737, 942201815)
  191. elseif choice == 2 then
  192. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_victory_gm_f4fc7cf8.mp3", "Did you really think you had a chance?", "", 607143583, 3133144305)
  193. elseif choice == 3 then
  194. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_victory_gm_f5088778.mp3", "Get up! Death isn't good enough for you!", "", 3381713633, 2145918189)
  195. end
  196. else
  197. local choice = MakeRandomInt(1,2)
  198. if choice == 1 then --NO FEMALE Darkelf Victory VOs
  199. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_victory_gm_dff26fa.mp3", "It is a shame we must end it this way ... I could have used you.", "", 1363661737, 942201815)
  200. elseif choice == 2 then
  201. PlayFlavor(NPC, "voiceover/english/darkelf_base_1/ft/darkelf/darkelf_base_1_1_victory_gm_f4fc7cf8.mp3", "Did you really think you had a chance?", "", 607143583, 3133144305)
  202. end
  203. end
  204. end
  205. --end
  206. function ResetTimer(NPC) -- 7 SECOND PAUSE BETWEEN VOs
  207. CalloutTimer = false
  208. end
  209. function HealthReset (NPC) --SO HALF HEALTH DOESN'T SPAM
  210. HealthCallout = false
  211. end]]--