Giantslayer.lua 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  1. --[[
  2. Script Name : SpawnScripts/Generic/MonsterCallouts/Giantslayer.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.12.01 05:12:33
  5. Script Purpose : Giantslayer VOs between barbarian, ogre, and troll. Missing MANY VOs. Replaced most with generic racial VOs/Muted Playflavors.
  6. :
  7. --]]
  8. local HealthCallout = false --REDUCES Half-Health Spam
  9. local CalloutTimer = false --REDUCES Callout Spam
  10. local Ogre = 12
  11. local Troll = 14
  12. local Barbarian = 0
  13. function ResetTimer(NPC) -- 7 SECOND PAUSE BETWEEN VOs
  14. SetTempVariable(NPC, "CalloutTimer", "false")
  15. end
  16. function Garbled(NPC,Player)
  17. if GetRace(NPC) == Barbarian then
  18. if GetGender(NPC) ==1 then -- MALE
  19. local choice = MakeRandomInt(1,4)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_1d4e2601.mp3", "Zergen oer steb liteit", "", 1881495348, 2631084324, Spawn,1)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_b0cb46d4.mp3", "Neit te geb ruiken, wat weg hout u hetten", "", 1338663568, 2860304215, Spawn,1)
  24. elseif choice == 3 then
  25. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_b80c3123.mp3", "Asfkher van baed rijs prakti kjen ", "", 1248648431, 1559755809, Spawn,1)
  26. elseif choice == 4 then
  27. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_steppes/ft/barbarian/barbarian_steppes_1_garbled_gm_f1b9e87a.mp3", "Uf envoudig een van uw gekozen en enkel geven om Vensters", "", 3095091783, 3153428791, Spawn,1)
  28. end
  29. else
  30. local choice = MakeRandomInt(1,4)
  31. if choice == 1 then -- FEMALE
  32. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_garbled_gf_39fa44a4.mp3", "Voor van de hebben verktozen um venester ", "", 1454634641, 3478787440, Spawn, 1)
  33. elseif choice == 2 then
  34. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_garbled_gf_1d4e2601.mp3", "Zergen oer steb liteit", "", 3787818080, 297930332, Spawn, 1)
  35. elseif choice == 3 then
  36. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_garbled_gf_b0cb46d4.mp3", "Neit te geb ruiken, wat weg hout u hetten", "", 2958929129, 2080811104, Spawn, 1)
  37. elseif choice == 4 then
  38. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_garbled_gf_411c42c0.mp3", "Markt om de teg enges teld ek westiae te stellen. ", "", 3699684343, 1809069007, Spawn, 1)
  39. end
  40. end
  41. elseif GetRace(NPC) == Ogre then
  42. if GetGender(NPC) ==1 then -- MALE
  43. local choice = MakeRandomInt(1,4)
  44. if choice == 1 then
  45. PlayFlavor(NPC, "voiceover/english/optional3/ogre_dervish/ft/ogre/ogre_dervish_2_garbled_gm_4e36e011.mp3", "Dorsht kro venab modat sed", "", 3845588707, 2500883879, Spawn,14)
  46. elseif choice == 2 then
  47. PlayFlavor(NPC, "voiceover/english/ogre_dervish/ft/ogre/ogre_dervish_1_garbled_gm_2e858451.mp3", "Borod groda sud med ka", "", 3026340298, 870128273, Spawn,14)
  48. elseif choice == 3 then
  49. PlayFlavor(NPC, "voiceover/english/ogre_dervish/ft/ogre/ogre_dervish_1_garbled_gm_7d0991b7.mp3", "Hurth mroth beheda graben deleth", "", 2073169291, 2543219571, Spawn,14)
  50. elseif choice == 4 then
  51. PlayFlavor(NPC, "voiceover/english/optional3/ogre_dervish/ft/ogre/ogre_dervish_2_garbled_gm_2e858451.mp3", "Borod groda sud med ka", "", 2573547747, 2195246695, Spawn,14)
  52. end
  53. else
  54. local choice = MakeRandomInt(1,4)
  55. if choice == 1 then -- FEMALE
  56. PlayFlavor(NPC, "voiceover/english/ogre_dervish/ft/ogre/ogre_dervish_1_garbled_gf_bef20a0a.mp3", "Grada ulgar boi hemar", "", 2699004920, 560903809, Spawn,14)
  57. elseif choice == 2 then
  58. PlayFlavor(NPC, "voiceover/english/ogre_dervish/ft/ogre/ogre_dervish_1_garbled_gf_7d0991b7.mp3", "Hurth mroth beheda graben deleth", "", 2981299879, 1969453091, Spawn,14)
  59. elseif choice == 3 then
  60. PlayFlavor(NPC, "voiceover/english/optional3/ogre_dervish/ft/ogre/ogre_dervish_2_garbled_gf_2e858451.mp3", "Borod groda sud med ka", "", 2001985676, 3233914404, Spawn,14)
  61. elseif choice == 4 then
  62. PlayFlavor(NPC, "voiceover/english/optional3/ogre_dervish/ft/ogre/ogre_dervish_2_garbled_gf_7d0991b7.mp3", "Hurth mroth beheda graben deleth", "", 2347032592, 631248646, Spawn,14)
  63. end
  64. end
  65. elseif GetRace(NPC) == Troll then
  66. if GetGender(NPC) ==1 then -- MALE
  67. local choice = MakeRandomInt(1,4)
  68. if choice == 1 then
  69. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_318f674b.mp3", "Erch bosta pankan toost", "", 2846330309, 4155347396, Spawn,15)
  70. elseif choice == 2 then
  71. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_43bed989.mp3", "Habat zopft hach'te glarst", "", 2701453259, 3347954170, Spawn,15)
  72. elseif choice == 3 then
  73. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_a1a1512f.mp3", "Tastke blatsa zurtek nyt", "", 3824904925, 121650296, Spawn,15)
  74. elseif choice == 4 then
  75. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_c4c81df1.mp3", "Pazzkkan gracht glizt kep", "", 1821063853, 3495000701, Spawn,15)
  76. end
  77. else -- FEMALE (These are male troll VOs for now)
  78. local choice = MakeRandomInt(1,4)
  79. if choice == 1 then
  80. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_318f674b.mp3", "Erch bosta pankan toost", "", 2846330309, 4155347396, Spawn,15)
  81. elseif choice == 2 then
  82. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_43bed989.mp3", "Habat zopft hach'te glarst", "", 2701453259, 3347954170, Spawn,15)
  83. elseif choice == 3 then
  84. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_a1a1512f.mp3", "Tastke blatsa zurtek nyt", "", 3824904925, 121650296, Spawn,15)
  85. elseif choice == 4 then
  86. PlayFlavor(NPC, "voiceover/english/optional2/troll/ft/troll/troll_eco_garble_garbled_gm_c4c81df1.mp3", "Pazzkkan gracht glizt kep", "", 1821063853, 3495000701, Spawn,15)
  87. end
  88. end
  89. end
  90. end
  91. function aggro(NPC,Player)
  92. SetTempVariable(NPC, "CalloutTimer", "false")
  93. if GetTempVariable(NPC, "CalloutTimer")== "false" and math.random(0,100) <=33 and IsPlayer(Player) then
  94. SetTempVariable(NPC, "CalloutTimer", "true")
  95. AddTimer(NPC,10000,"ResetTimer")
  96. if GetRace(NPC) == Barbarian then
  97. if not HasLanguage(Player,1)then
  98. Garbled(NPC,Player)
  99. else
  100. aggroCall(NPC,Player)
  101. end
  102. elseif GetRace(NPC) == Ogre then
  103. if not HasLanguage(Player,14)then
  104. Garbled(NPC,Player)
  105. else
  106. aggroCall(NPC,Player)
  107. end
  108. elseif GetRace(NPC) == Troll then
  109. if not HasLanguage(Player,15)then
  110. Garbled(NPC,Player)
  111. else
  112. aggroCall(NPC,Player)
  113. end
  114. end
  115. end
  116. end
  117. function aggroCall(NPC,Player)
  118. if GetRace(NPC) == Barbarian then
  119. if GetGender(NPC) ==1 then -- MALE
  120. local choice = MakeRandomInt(1,4)
  121. if choice == 1 then
  122. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_base_1/ft/barbarian/barbarian_base_1_1_aggro_gm_394a7fe3.mp3", "Not sneaky enough to get past me.", "", 3715495401, 2861752836, Spawn, 1)
  123. elseif choice == 2 then
  124. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_base_1/ft/barbarian/barbarian_base_1_1_aggro_gm_d2336620.mp3", "Your overconfidence will be your undoing.", "", 1735697087, 1551611219, Spawn, 1)
  125. elseif choice == 3 then
  126. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_base_2/ft/barbarian/barbarian_base_2_1_halfhealth_gm_e4144b42.mp3", "A true warrior feels no pain!", "", 3699343440, 1584591854, Spawn,1)
  127. elseif choice == 4 then
  128. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_aggro_gm_e5dbdc37.mp3", "There's no escaping my might!", "", 548778638, 825995484, Spawn, 1)
  129. end
  130. else
  131. local choice = MakeRandomInt(1,3)
  132. if choice == 1 then -- FEMALE
  133. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_aggro_gf_e5dbdc37.mp3", "There's no escaping my might!", "", 548778638, 825995484, Spawn, 1)
  134. elseif choice == 2 then
  135. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_aggro_gf_aaaf35f7.mp3", "This battle will be the end of you!", "", 4178539814, 2861843546, Spawn, 1)
  136. elseif choice == 3 then
  137. PlayFlavor(NPC, "voiceover/english/barbarian_base_1/ft/barbarian/barbarian_base_1_1_aggro_gf_d2336620.mp3", "Your overconfidence will be your undoing.", "", 2263836674, 942538899, Spawn,1)
  138. end
  139. end
  140. elseif GetRace(NPC) == Ogre then
  141. if GetGender(NPC) ==1 then -- MALE
  142. local choice = MakeRandomInt(1,3)
  143. if choice == 1 then
  144. PlayFlavor(NPC, "voiceover/english/ogre_giantslayer/ft/ogre/ogre_giantslayer_1_aggro_gm_e34983fd.mp3", "You messed with the wrong guy!", "", 2373153509, 3768633177, Spawn, 14)
  145. elseif choice == 2 then
  146. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_aggro_gm_583690dc.mp3", "Summon help! We have invaders!", "", 3340212225, 279643307, Spawn, 14)
  147. elseif choice == 3 then
  148. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_aggro_gm_a30c4f9d.mp3", "To arms!", "", 1238020980, 748146443, Spawn, 14)
  149. end
  150. else
  151. local choice = MakeRandomInt(1,3)
  152. if choice == 1 then -- FEMALE
  153. PlayFlavor(NPC, "voiceover/english/ogre_giantslayer/ft/ogre/ogre_giantslayer_1_aggro_gf_4cd8a067.mp3", "I'm gonna squosh you!", "", 3161832271, 3643573572, Spawn, 14)
  154. elseif choice == 2 then
  155. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_aggro_gf_d4cfd470.mp3", "Feel the might of Rallos!", "", 760635308, 455953200, Spawn,14)
  156. elseif choice == 3 then
  157. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_battle_gf_fa6b8296.mp3", "They cannot match our strength. Charge!", "", 3818976104, 1332551759, Spawn,14)
  158. end
  159. end
  160. elseif GetRace(NPC) == Troll then
  161. if GetGender(NPC) ==1 then -- MALE
  162. local choice = MakeRandomInt(1,3)
  163. if choice == 1 then
  164. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_aggro_gm_b7e0b3a.mp3", "Me going to eat your kidney first.", "", 3664886715, 2450110061,15)
  165. elseif choice == 2 then
  166. PlayFlavor(NPC, "voiceover/english/optional3/troll_giantslayer/ft/troll/troll_giantslayer_2_aggro_gm_c0dad131.mp3", "Giantslayer power!", "", 976922385, 2649690552, Spawn, 15)
  167. elseif choice == 3 then
  168. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_aggro_gm_f06d6bb9.mp3", "Not nice to interrupt dinner.", "", 573837171, 4255493444,15)
  169. end
  170. else
  171. local choice = MakeRandomInt(1,3)
  172. if choice == 1 then -- FEMALE
  173. PlayFlavor(NPC, "voiceover/english/optional3/troll_giantslayer/ft/troll/troll_giantslayer_2_aggro_gf_c0dad131.mp3", "Giantslayer power!", "", 976922385, 2649690552, Spawn, 15)
  174. elseif choice == 2 then
  175. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_aggro_gf_b7e0b3a.mp3", "Me going to eat your kidney first.", "", 750980753, 3740010516, Spawn,15)
  176. elseif choice == 3 then
  177. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_aggro_gf_62fd0e82.mp3", "What smells so good?", "", 3335229907, 713747453, Spawn,15)
  178. end
  179. end
  180. end
  181. end
  182. function death(NPC,Player)
  183. if GetTempVariable(NPC, "CalloutTimer")== "false" and IsPlayer(Player) then
  184. if MakeRandomInt(0,100)<=35 then
  185. if GetRace(NPC) == Barbarian then
  186. if not HasLanguage(Player,1)then
  187. Garbled(NPC,Player)
  188. else
  189. DeathCall(NPC,Player)
  190. end
  191. elseif GetRace(NPC) == Ogre then
  192. if not HasLanguage(Player,14)then
  193. Garbled(NPC,Player)
  194. else
  195. DeathCall(NPC,Player)
  196. end
  197. elseif GetRace(NPC) == Troll then
  198. if not HasLanguage(Player,15)then
  199. Garbled(NPC,Player)
  200. else
  201. DeathCall(NPC,Player)
  202. end
  203. end
  204. end
  205. end
  206. end
  207. function DeathCall(NPC,Player)
  208. if GetRace(NPC) == Barbarian then
  209. if GetGender(NPC) ==1 then -- MALE
  210. local choice = MakeRandomInt(1,2)
  211. if choice == 1 then
  212. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_death_gm_c6234231.mp3", "No! I can't be defeated! Not by you!", "", 0, 0, Spawn, 1)
  213. elseif choice == 2 then
  214. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_death_gm_438c5129.mp3", "The Giantslayers will avenge me!", "", 0, 0, Spawn, 1)
  215. end
  216. else
  217. local choice = MakeRandomInt(1,2)
  218. if choice == 1 then -- FEMALE
  219. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_death_gf_c6234231.mp3", "No! I can't be defeated! Not by you!", "", 218778824, 3585845916, Spawn, 1)
  220. elseif choice == 2 then
  221. PlayFlavor(NPC, "voiceover/english/optional5/barbarian_giantslayer/ft/barbarian/barbarian_giantslayer_1_death_gf_438c5129.mp3", "The Giantslayers will avenge me!", "", 3264229264, 1027961998, Spawn, 1)
  222. end
  223. end
  224. elseif GetRace(NPC) == Ogre then
  225. if GetGender(NPC) ==1 then -- MALE
  226. local choice = MakeRandomInt(1,2)
  227. if choice == 1 then
  228. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_death_gm_4be2fecc.mp3", "You may win the battle, but the war is far from over!", "", 9065845, 102503565, Spawn, 14)
  229. elseif choice == 2 then
  230. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_death_gm_258f0139.mp3", "Do not surrender to the invaders!", "", 703053605, 1971945197, Spawn, 14)
  231. end
  232. else
  233. local choice = MakeRandomInt(1,2)
  234. if choice == 1 then
  235. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_death_gf_258f0139.mp3", "Do not surrender to the invaders!", "", 928337336, 4254092896, Spawn, 14)
  236. else
  237. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_death_gf_4be2fecc.mp3", "You may win the battle, but the war is far from over!", "", 3327742171, 2045821391, Spawn, 14)
  238. end
  239. end
  240. elseif GetRace(NPC) == Troll then
  241. if GetGender(NPC) ==1 then -- MALE
  242. local choice = MakeRandomInt(1,2)
  243. if choice == 1 then
  244. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_death_gm_e8c02d1e.mp3", "Feel kinda sleepy. Whacha do to me?", "", 3298938103, 1410551282, Spawn,15)
  245. elseif choice == 2 then
  246. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_death_gm_e1755f3f.mp3", "Come back you coward! I'm not dead yet.", "", 86111608, 3954832486, Spawn,15)
  247. end
  248. else
  249. local choice = MakeRandomInt(1,3)
  250. if choice == 1 then -- FEMALE
  251. PlayFlavor(NPC, "voiceover/english/optional3/troll_giantslayer/ft/troll/troll_giantslayer_2_death_gf_2caf3bcf.mp3", "No! Giantslayers never die!", "", 3123046582, 684022532, Spawn, 15)
  252. elseif choice == 2 then
  253. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_death_gf_e8c02d1e.mp3", "Feel kinda sleepy. Whacha do to me?", "", 3447489483, 413641560, Spawn,15)
  254. else
  255. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_death_gf_e1755f3f.mp3", "Come back you coward! I'm not dead yet.", "", 695536554, 1919499087, Spawn,15)
  256. end
  257. end
  258. end
  259. end
  260. function victory(NPC,Player)
  261. if GetRace(NPC) == Barbarian then
  262. if not HasLanguage(Player,1)then
  263. Garbled(NPC,Player)
  264. else
  265. VictoryCall(NPC,Player)
  266. end
  267. elseif GetRace(NPC) == Ogre then
  268. if not HasLanguage(Player,14)then
  269. Garbled(NPC,Player)
  270. else
  271. VictoryCall(NPC,Player)
  272. end
  273. elseif GetRace(NPC) == Troll then
  274. if not HasLanguage(Player,15)then
  275. Garbled(NPC,Player)
  276. else
  277. VictoryCall(NPC,Player)
  278. end
  279. end
  280. end
  281. function VictoryCall(NPC,Player)
  282. if GetRace(NPC) == Barbarian then
  283. if GetGender(NPC) ==1 then -- MALE
  284. local choice = MakeRandomInt(1,2)
  285. if choice == 1 then
  286. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_base_1/ft/barbarian/barbarian_base_1_1_victory_gm_e707fef0.mp3", "Flee cowards, before I slaughter you all!", "", 3583801206, 1799910552, Spawn,1)
  287. elseif choice == 2 then
  288. PlayFlavor(NPC, "voiceover/english/optional3/barbarian_base_1/ft/barbarian/barbarian_base_1_1_victory_gm_f87005b5.mp3", "Now you will have peace.", "", 3932457554, 2553847722, Spawn,1)
  289. end
  290. else
  291. local choice = MakeRandomInt(1,2)
  292. if choice == 1 then -- FEMALE
  293. PlayFlavor(NPC, "voiceover/english/barbarian_base_1/ft/barbarian/barbarian_base_1_1_victory_gf_155a84f0.mp3", "You fought well but not well enough!", "", 1144735491, 2154607760, Spawn,1)
  294. elseif choice == 2 then
  295. PlayFlavor(NPC, "voiceover/english/barbarian_base_1/ft/barbarian/barbarian_base_1_1_victory_gf_f87005b5.mp3", "Now you will have peace.", "", 2974774059, 665726799, Spawn,1)
  296. end
  297. end
  298. elseif GetRace(NPC) == Ogre then
  299. if GetGender(NPC) ==1 then -- MALE
  300. local choice = MakeRandomInt(1,2)
  301. if choice == 1 then
  302. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_victory_gm_ec0cd85a.mp3", "I hope they're all this easy.", "", 2687289628, 2303639320, Spawn,14)
  303. elseif choice == 2 then
  304. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_victory_gm_153f12ff.mp3", "One down!", "", 3009518664, 4140389760, Spawn,14)
  305. end
  306. else
  307. local choice = MakeRandomInt(1,2)
  308. if choice == 1 then
  309. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_victory_gf_1c683d69.mp3", "Leave the carcasses to rot!", "", 1941316513, 697971111, Spawn,14)
  310. else
  311. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_victory_gf_90f4b426.mp3", "Forward! Leave no survivors!", "", 1746137281, 1712355529, Spawn,14)
  312. end
  313. end
  314. elseif GetRace(NPC) == Troll then
  315. if GetGender(NPC) ==1 then -- MALE
  316. local choice = MakeRandomInt(1,2)
  317. if choice == 1 then
  318. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_victory_gm_ae6d66e3.mp3", "Teach you to mess with the best.", "", 927528340, Spawn, 2751002174,15)
  319. elseif choice == 2 then
  320. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_halfhealth_gm_aa145f4d.mp3", "Neat, that'll leave a pretty scar", "", 675684950, Spawn, 4088135432,15)
  321. end
  322. else
  323. local choice = MakeRandomInt(1,2)
  324. if choice == 1 then -- FEMALE
  325. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_victory_gf_ae6d66e3.mp3", "Teach you to mess with the best.", "", 2175921460, Spawn, 357738989,15)
  326. elseif choice == 2 then
  327. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_battle_gf_ee1e1a8.mp3", "Blood bath!", "", 3988277815, Spawn, 18269010,15)
  328. end
  329. end
  330. end
  331. end