9
3

GenericCombatVoiceOvers.lua 37 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520
  1. --[[
  2. Script Name : SpawnScripts/Generic/GenericCombatVoiceOvers.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.06.19 08:06:25
  5. Script Purpose : Generic Combat VoiceOvers for all races. Should include Death, Wounded and Aggro VoiceOvers. !!WIP!!
  6. Script Notes : SCRIPT MUST BE EDITED AND UPDATED WITH NEW COLLECTED VOICEOVERS, !!WIP!!
  7. --]]
  8. function generic_aggro(NPC, Spawn)
  9. if GetRace(NPC) == 1 then -- DARK ELF
  10. if GetGender(NPC) == 1 then -- MALE
  11. local choice = MakeRandomInt(1, 6)
  12. if choice == 1 then
  13. 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, Spawn)
  14. elseif choice == 2 then
  15. 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, Spawn)
  16. elseif choice == 3 then
  17. 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, Spawn)
  18. elseif choice == 4 then
  19. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_aggro_gm_10fd87eb.mp3", "There is no escape for you now!", "", 3165522765, 2769419089, Spawn)
  20. elseif choice == 5 then
  21. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_aggro_gm_fe18133.mp3", "Look what strolled into the spider's web!", "", 2482807895, 4283710764, Spawn)
  22. elseif choice == 6 then
  23. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_aggro_gm_beacbb30.mp3", "I hope you put your affairs in order.", "", 1390644887, 2605603182, Spawn)
  24. end
  25. elseif GetGender(NPC) == 2 then -- FEMALE
  26. local choice = MakeRandomInt(1, 7)
  27. if choice == 1 then
  28. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_aggro_gf_beacbb30.mp3", "I hope you put your affairs in order.", "", 4241642069, 3957487704, Spawn)
  29. elseif choice == 2 then
  30. 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, Spawn)
  31. elseif choice == 3 then
  32. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_aggro_gf_8e7390a8.mp3", "Welcome to torment and destruction!", "", 3770648926, 2897017212, Spawn)
  33. elseif choice == 4 then
  34. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_aggro_gf_fb890c79.mp3", "I have no time for meddlers. Destroy them!", "", 1947039155, 2094447273, Spawn)
  35. elseif choice == 5 then
  36. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_aggro_gf_ded507db.mp3", "More intruders to deal with? Stop them!", "", 338410258, 2808797910, Spawn)
  37. elseif choice == 6 then
  38. 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, Spawn)
  39. elseif choice == 7 then
  40. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_aggro_gf_10fd87eb.mp3", "There is no escape for you now!", "", 3057301144, 689207639, Spawn)
  41. elseif choice == 8 then
  42. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gf_73e0b841.mp3", "Didn't expect to run into me, did you?", "", 1296281253, 1199123109, Spawn)
  43. end
  44. end
  45. elseif GetRace(NPC) == 9 then -- HUMAN
  46. if GetGender(NPC) == 1 then -- MALE
  47. local choice = MakeRandomInt(1, 3)
  48. if choice == 1 then
  49. 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)
  50. elseif choice == 2 then
  51. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_aggro_gm_a30c4f9d.mp3", "To arms!", "", 1238020980, 748146443, Spawn)
  52. elseif choice == 3 then
  53. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_aggro_gm_a203c9ec.mp3", "Prepare to face your doom, meddler.", "", 1496819882, 365167432)
  54. end
  55. elseif GetGender(NPC) == 2 then
  56. local choice = MakeRandomInt(1, 3)
  57. if choice == 1 then
  58. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_aggro_gf_583690dc.mp3", "Summon help! We have invaders!", "", 1598905349, 2204481929, Spawn)
  59. elseif choice == 2 then
  60. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_aggro_gf_a30c4f9d.mp3", "To arms!", "", 2291750057, 1030180613, Spawn)
  61. elseif choice == 3 then
  62. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_aggro_gf_a203c9ec.mp3", "Prepare to face your doom, meddler.", "", 3593389433, 3838830228, Spawn)
  63. end
  64. end
  65. elseif GetRace(NPC) == 12 then -- OGRE
  66. if GetGender(NPC) == 1 then -- MALE
  67. local choice = MakeRandomInt(1, 5)
  68. if choice == 1 then
  69. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gm_73e0b841.mp3", "Didn't expect to run into me, did you?", "", 2798482342, 2779936312, Spawn)
  70. elseif choice == 2 then
  71. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_aggro_gm_7dd48aa0.mp3", "Destroy all of the intruders!", "", 839435710, 984808121, Spawn)
  72. elseif choice == 3 then
  73. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_aggro_gm_d4cfd470.mp3", "Feel the might of Rallos!", "", 4147080812, 3504771687, Spawn)
  74. elseif choice == 4 then
  75. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gm_14f58c07.mp3", "Enemies approach. Kill them all!", "", 3023102358, 1690481813, Spawn)
  76. elseif choice == 4 then
  77. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_aggro_gm_616f0d11.mp3", "Here they come!", "", 2058930788, 2409450830, Spawn)
  78. elseif choice == 5 then
  79. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gm_c8053a6e.mp3", "Alert the commander that intruders are here!", "", 3671636011, 19130394, Spawn)
  80. end
  81. elseif GetGender(NPC) == 2 then -- FEMALE
  82. local choice = MakeRandomInt(1, 6)
  83. if choice == 1 then
  84. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gf_c8053a6e.mp3", "Alert the commander that intruders are here!", "", 4095112003, 2636471416, Spawn)
  85. elseif choice == 2 then
  86. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gf_14f58c07.mp3", "Enemies approach. Kill them all!", "", 2676371437, 475514690, Spawn)
  87. elseif choice == 3 then
  88. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_aggro_gf_616f0d11.mp3", "Here they come!", "", 3827960870, 1418011349, Spawn)
  89. elseif choice == 4 then
  90. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_aggro_gf_7dd48aa0.mp3", "Destroy all of the intruders!", "", 3699228325, 3223205316, Spawn)
  91. elseif choice == 5 then
  92. 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)
  93. elseif choice == 6 then
  94. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_aggro_gf_73e0b841.mp3", "Didn't expect to run into me, did you?", "", 1296281253, 1199123109, Spawn)
  95. end
  96. end
  97. elseif GetRace(NPC) == 14 then -- TROLL
  98. if GetGender(NPC) == 1 then -- MALE
  99. local choice = MakeRandomInt(1, 6)
  100. if choice == 1 then
  101. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_aggro_gm_92aae4b4.mp3", "I'll rend you limb from limb.", "", 49787000, 49787000, Spawn)
  102. elseif choice == 2 then
  103. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_aggro_gm_62fd0e82.mp3", "What smells so good?", "", 118237492, 3945579326, Spawn)
  104. elseif choice == 3 then
  105. 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, Spawn)
  106. elseif choice == 4 then
  107. 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, Spawn)
  108. elseif choice == 5 then
  109. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_aggro_gm_d5e592e8.mp3", "Wuh? Time for pain!", "", 1834948398, 3855615475, Spawn)
  110. elseif choice == 6 then
  111. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_aggro_gm_d1a345c7.mp3", "I'm gonna give you a smile like ol' one tooth!", "", 2209033822, 2591536638, Spawn)
  112. end
  113. elseif GetGender(NPC) == 2 then -- FEMALE
  114. local choice = MakeRandomInt(1, 6)
  115. if choice == 1 then
  116. 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)
  117. elseif choice == 2 then
  118. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_aggro_gf_92aae4b4.mp3", "I'll rend you limb from limb.", "", 4151518928, 507789130, Spawn)
  119. elseif choice == 3 then
  120. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_aggro_gf_f06d6bb9.mp3", "Not nice to interrupt dinner.", "", 3860408661, 3681593402, Spawn)
  121. elseif choice == 4 then
  122. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_aggro_gf_d5e592e8.mp3", "Ungh? Time for pain!", "", 1433604950, 3891891742, Spawn)
  123. elseif choice == 5 then
  124. 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)
  125. elseif choice == 6 then
  126. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_aggro_gf_d1a345c7.mp3", "I'm gonna give you a smile like ol' one tooth!", "", 1201784314, 2598207561, Spawn)
  127. end
  128. end
  129. elseif GetRace(NPC) == 6 then -- HALF ELF
  130. if GetGender(NPC) == 2 then -- FEMALE
  131. PlayFlavor(NPC, "voiceover/english/optional3/halfelf_base_1/ft/halfelf/halfelf_base_1_1_aggro_gf_a68f64b6.mp3", "Alarm! Alarm!", "", 1220383018, 2962002142, Spawn)
  132. end
  133. elseif GetRace(NPC) == 13 then -- RATONGA
  134. if GetGender(NPC) == 1 then -- MALE
  135. local choice = MakeRandomInt(1, 3)
  136. if choice == 1 then
  137. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_aggro_gm_88cef174.mp3", "Overhear my plansies. Gore you I will!", "", 3355146665, 1217299863, Spawn)
  138. elseif choice == 2 then
  139. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_aggro_gm_a3d8a506.mp3", "Not very nice of you to be all sneaky.", "", 1692637839, 2224104916, Spawn)
  140. elseif choice == 3 then
  141. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_aggro_gm_1fca68dc.mp3", "Greetings friend, how would you like to die?", "", 2689492018, 3168721640, Spawn)
  142. end
  143. elseif GetGender(NPC) == 2 then -- FEMALE
  144. local choice = MakeRandomInt(1, 2)
  145. if choice == 1 then
  146. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_1/ft/ratonga/ratonga_base_1_1_aggro_gf_ce5970ec.mp3", "Startle us, you did! We'll remedy that.", "", 3905874632, 4086824059, Spawn)
  147. elseif choice == 2 then
  148. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_1/ft/ratonga/ratonga_base_1_1_aggro_gf_4af7a99.mp3", "You're not as sneaky as you thought.", "", 1898398655, 853136085, Spawn)
  149. elseif choice == 3 then
  150. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_1/ft/ratonga/ratonga_base_1_1_aggro_gf_7c145a1f.mp3", "Sees us, did we? Must not let you talk then.", "", 2661963919, 697614069, Spawn)
  151. end
  152. end
  153. end -- END OF THE "RACE CHECK"
  154. end -- END OF THE FUNCTION
  155. function generic_death(NPC, Spawn) -- CALLED ON NPC DEATH
  156. if GetRace(NPC) == 1 then -- DARK ELF
  157. if GetGender(NPC) == 1 then -- MALE
  158. local choice = MakeRandomInt(1, 2)
  159. if choice == 1 then
  160. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_death_gm_25576197.mp3", "I will have vengeance!", "", 433254383, 1749773166, Spawn)
  161. elseif choice == 2 then
  162. 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, Spawn)
  163. end
  164. elseif GetGender(NPC) == 2 then -- FEMALE
  165. local choice = MakeRandomInt(1, 6)
  166. if choice == 1 then
  167. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_1_death_gf_25576197.mp3", "I will have vengeance!", "", 2208779791, 246336299, Spawn)
  168. elseif choice == 2 then
  169. 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, Spawn)
  170. elseif choice == 3 then
  171. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_death_gf_578a99eb.mp3", "Fall back, order a tactical retreat!", "", 2107410109, 3046072336, Spawn)
  172. elseif choice == 4 then
  173. 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, Spawn)
  174. elseif choice == 5 then
  175. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_death_gf_8bbec3e3.mp3", "No matter what I promise, you will not survive!", "", 2832420662, 2950405548, Spawn)
  176. elseif choice == 6 then
  177. 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)
  178. end
  179. end
  180. elseif GetRace(NPC) == 12 then -- OGRE
  181. if GetGender(NPC) == 1 then -- MALE
  182. local choice = MakeRandomInt(1, 4)
  183. if choice == 1 then
  184. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_death_gm_f8085354.mp3", "Fall back and regroup. The enemy has the upper hand!", "", 2889056279, 2002341414, Spawn)
  185. elseif choice == 2 then
  186. 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)
  187. elseif choice == 3 then
  188. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_death_gm_da93daa6.mp3", "Combat withdrawal! Follow me!", "", 261326210, 2774227809, Spawn)
  189. elseif choice == 4 then
  190. 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)
  191. end
  192. elseif GetGender(NPC) == 2 then -- FEMALE
  193. local choice = MakeRandomInt(1, 4)
  194. if choice == 1 then
  195. 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)
  196. elseif choice == 2 then
  197. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_death_gf_da93daa6.mp3", "Combat withdrawal! Follow me!", "", 2996415396, 2001289891, Spawn)
  198. elseif choice == 3 then
  199. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_death_gf_f8085354.mp3", "Fall back and regroup. The enemy has the upper hand!", "", 3880002939, 3376376480, Spawn)
  200. elseif choice == 4 then
  201. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_halfhealth_gf_5a6c112c.mp3", "Do not surrender to the invaders!", "", 928337336, 4254092896, Spawn)
  202. end
  203. end
  204. elseif GetRace(NPC) == 14 then -- TROLL
  205. if GetGender(NPC) == 1 then -- MALE
  206. local choice = MakeRandomInt(1, 4)
  207. if choice == 1 then
  208. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_death_gm_a0975726.mp3", "I'll take their share.", "", 3447375966, 2362973946, Spawn)
  209. elseif choice == 2 then
  210. 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)
  211. elseif choice == 3 then
  212. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_death_gm_629228e0.mp3", "They were weak and deserved to die.", "", 1907912454, 2630165050, Spawn)
  213. elseif choice == 4 then
  214. 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)
  215. end
  216. elseif GetGender(NPC) == 2 then -- FEMALE
  217. local choice = MakeRandomInt(1, 3)
  218. if choice == 1 then
  219. 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)
  220. elseif choice == 2 then
  221. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_death_gf_a0975726.mp3", "I'll take their share.", "", 579954056, 2613873892, Spawn)
  222. elseif choice == 3 then
  223. 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, 4136415601, Spawn)
  224. end
  225. end
  226. elseif GetRace(NPC) == 9 then -- HUMAN
  227. if GetGender(NPC) == 1 then -- MALE
  228. local choice = MakeRandomInt(1,2)
  229. if choice == 1 then
  230. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_death_gm_7612214f.mp3", "All hands retreat!", "", 3033325782, 1103449586, Spawn)
  231. elseif choice == 2 then
  232. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_death_gm_3e24be0b.mp3", "Cover me while we regroup!", "", 144951462, 3922442401, Spawn)
  233. end
  234. elseif GetGender(NPC) == 2 then -- FEMALE
  235. local choice = MakeRandomInt(1,2)
  236. if choice == 1 then
  237. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_death_gf_7612214f.mp3", "All hands retreat!", "", 3620177897, 757784861, Spawn)
  238. elseif choice == 2 then
  239. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_death_gf_3e24be0b.mp3", "Cover me while we regroup!", "", 3876965132, 3906042379, Spawn)
  240. end
  241. end
  242. elseif GetRace(NPC) == 6 then -- HALF ELF
  243. if GetGender(NPC) == 2 then -- FEMALE
  244. PlayFlavor(NPC, "voiceover/english/optional3/halfelf_base_1/ft/halfelf/halfelf_base_1_1_death_gf_1a659852.mp3", "We must withdraw before we all die!", "", 2249500792, 2154633904, Spawn)
  245. end
  246. elseif GetRace(NPC) == 13 then -- RATONGA
  247. if GetGender(NPC) == 1 then -- MALE
  248. local choice = MakeRandomInt(1, 2)
  249. if choice == 1 then
  250. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_death_gm_8c411c1d.mp3", "Should have escaped while I had the chance.", "", 540449850, 3466919170, Spawn)
  251. elseif choice == 2 then
  252. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_death_gm_3595da9d.mp3", "Take my secrets to my grave, I shall.", "", 2934272708, 1278832110, Spawn)
  253. end
  254. elseif GetGender(NPC) == 2 then -- FEMALE
  255. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_1/ft/ratonga/ratonga_base_1_1_death_gf_1a206352.mp3", "Time to leave, yes. Definitely time to leave.", "", 3197509537, 237885544, Spawn)
  256. end
  257. end -- END OF THE "RACE CHECK"
  258. end -- END OF THE FUNCTION
  259. function generic_killed(NPC, Spawn)
  260. if GetRace(NPC) == 9 then -- HUMAN
  261. if GetGender(NPC) == 1 then -- MALE
  262. local choice = MakeRandomInt(1,3)
  263. if choice == 1 then
  264. 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)
  265. elseif choice == 2 then
  266. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_victory_gm_4553e1e0.mp3", "Flee now or meet this one's fate.", "", 3032162747, 1359206304)
  267. elseif choice == 3 then
  268. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_victory_gm_153f12ff.mp3", "One down!", "", 3009518664, 4140389760)
  269. end
  270. elseif GetGender(NPC) == 2 then -- FEMALE
  271. local choice = MakeRandomInt(1, 3)
  272. if choice == 1 then
  273. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_victory_gf_ec0cd85a.mp3", "I hope they're all this easy.", "", 1073758360, 3342649012, Spawn)
  274. elseif choice == 2 then
  275. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_victory_gf_153f12ff.mp3", "One down!", "", 188812292, 2173257116, Spawn)
  276. elseif choice == 3 then
  277. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_victory_gf_6f459088.mp3", "Flee now or meet this one's fate.", "", 290765367, 473549337, Spawn)
  278. end
  279. end
  280. elseif GetRace(NPC) == 14 then -- TROLL
  281. if GetGender(NPC) == 1 then -- MALE
  282. local choice = MakeRandomInt(1, 4)
  283. if choice == 1 then
  284. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_victory_gm_3ed1b9f0.mp3", "Mmmmm, I can taste that one now.", "", 2247378739, 1927164734, Spawn)
  285. elseif choice == 2 then
  286. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_victory_gm_ce5c7f78.mp3", "We gave them the pummeling.", "", 1293662769, 1693540191, Spawn)
  287. elseif choice == 3 then
  288. 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, 2751002174, Spawn)
  289. elseif choice == 4 then
  290. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_victory_gm_7dbd4c91.mp3", "That one will make a nice stew.", "", 3023908049, 2537001461, Spawn)
  291. end
  292. elseif GetGender(NPC) == 2 then -- FEMALE
  293. local choice = MakeRandomInt(1, 4)
  294. if choice == 1 then
  295. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_victory_gf_c8721d34.mp3", "Culling the weak from the herd.", "", 1547671830, 2217549810, Spawn)
  296. elseif choice == 2 then
  297. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_victory_gf_7dbd4c91.mp3", "That one will make a nice stew.", "", 4238344721, 832643250, Spawn)
  298. elseif choice == 3 then
  299. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_victory_gf_aea1ef35.mp3", "Save that one before he spoils.", "", 3455464022, 3427621456, Spawn)
  300. elseif choice == 4 then
  301. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_victory_gf_3ed1b9f0.mp3", "Mmmmm, I can taste that one now.", "", 4133059096, 3820060055, Spawn)
  302. end
  303. end
  304. elseif GetRace(NPC) == 1 then -- DARK ELF
  305. if GetGender(NPC) == 1 then -- MALE
  306. local choice = MakeRandomInt(1, 3)
  307. if choice == 1 then
  308. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_victory_gm_f5088778.mp3", "Get up! Death isn't good enough for you!", "", 3035053196, 1767371730, Spawn)
  309. elseif choice == 2 then
  310. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_victory_gm_dff26fa.mp3", "It is a shame we must end it this way ... I could have used you.", "", 1007700429, 3127864817, Spawn)
  311. elseif choice == 3 then
  312. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_victory_gm_f4fc7cf8.mp3", "Did you really think you had a chance?", "", 3732622480, 2512047638, Spawn)
  313. end
  314. elseif GetGender(NPC) == 2 then -- FEMALE
  315. local choice = MakeRandomInt(1, 2)
  316. if choice == 1 then
  317. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_victory_gf_c81106e.mp3", "You are as pathetic in death as you are in life!", "", 3253627052, 3680511275, Spawn)
  318. elseif choice == 2 then
  319. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_victory_gf_98aaa576.mp3", "The Teir'Dal do not take prisoners!", "", 2029735457, 1554181843, Spawn)
  320. end
  321. end
  322. elseif GetRace(NPC) == 12 then -- OGRE
  323. if GetGender(NPC) == 1 then -- MALE
  324. local choice = MakeRandomInt(1, 3)
  325. if choice == 1 then
  326. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_victory_gm_1de29528.mp3", "Death was your only escape from me, coward!", "", 3626940960, 2890932770, Spawn)
  327. elseif choice == 2 then
  328. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_victory_gm_a914f34c.mp3", "They get easier every time!", "", 1293022504, 4136529132, Spawn)
  329. elseif choice == 3 then
  330. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_victory_gm_f08fc0b0.mp3", "For the glory of battle!", "", 15475659, 3009117692, Spawn)
  331. end
  332. elseif GetGender(NPC) == 2 then -- FEMALE
  333. local choice = MakeRandomInt(1, 3)
  334. if choice == 1 then
  335. 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)
  336. elseif choice == 2 then
  337. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_victory_gf_90f4b426.mp3", "Forward! Leave no survivors!", "", 1746137281, 1712355529, Spawn)
  338. elseif choice == 3 then
  339. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_victory_gf_5a68124d.mp3", "Now, to finish your pitiful friends.", "", 2707229528, 1200546437, Spawn)
  340. end
  341. end
  342. elseif GetRace(NPC) == 13 then -- RATONGA
  343. if GetGender(NPC) == 1 then -- MALE
  344. local choice = MakeRandomInt(1, 2)
  345. if choice == 1 then
  346. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_victory_gm_63a80a84.mp3", "Ah, yes excellent no more worries.", "", 3582294440, 3055844859, Spawn)
  347. elseif choice == 2 then
  348. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_victory_gm_d7a5c042.mp3", "No more snooping for you.", "", 2291733466, 1243527327, Spawn)
  349. end
  350. elseif GetGender(NPC) == 2 then -- FEMALE
  351. local choice = MakeRandomInt(1, 2)
  352. if choice == 1 then
  353. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_1/ft/ratonga/ratonga_base_1_1_victory_gf_15e8fc93.mp3", "One less worry in my life!", "", 499443345, 1203285152, Spawn)
  354. elseif choice == 2 then
  355. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_1/ft/ratonga/ratonga_base_1_1_victory_gf_935883a.mp3", "Shhh ... shhh ... it's ok ... shhh ...shhh. Stop fighting it...", "", 3346721105, 4290589490, Spawn)
  356. end
  357. end
  358. end -- END OF THE "RACE CHECK"
  359. end -- END OF THE FUNCTION
  360. function generic_healthchanged(NPC, Spawn) -- CALLED WHEN NPC HP HAS CHANGED
  361. if GetRace(NPC) == 14 then -- TROLL
  362. if GetGender(NPC) == 1 then -- MALE
  363. local choice = MakeRandomInt(1, 6)
  364. if choice == 1 then
  365. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_halfhealth_gm_5ba543d6.mp3", "That'll grow back.", "", 1284662505, 182502504, Spawn)
  366. elseif choice == 2 then
  367. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_halfhealth_gm_f462f6ff.mp3", "Is this supposed to hurt?", "", 4202180867, 1393988988, Spawn)
  368. elseif choice == 3 then
  369. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_battle_gm_ee1e1a8.mp3", "Blood bath!", "", 3180104139, 2926558993, Spawn)
  370. elseif choice == 4 then
  371. PlayFlavor(NPC, "voiceover/english/optional5/troll_base_2/ft/troll/troll_base_2_1_halfhealth_gm_9e239695.mp3", "I can taste my own blood.", "", 3182034210, 3617807524, Spawn)
  372. elseif choice == 5 then
  373. 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, 4088135432, Spawn)
  374. elseif choice == 6 then
  375. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_battle_mm_2b9aa520.mp3", "Dis going to hurt you a lot.", "", 3832530810, 503465739, Spawn)
  376. end
  377. elseif GetGender(NPC) == 2 then -- FEMALE
  378. local choice = MakeRandomInt(1, 6)
  379. if choice == 1 then
  380. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_battle_mf_67c94743.mp3", "Careful not to damage the tasty livers.", "", 943087800, 1378210001, Spawn)
  381. elseif choice == 2 then
  382. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_halfhealth_gf_5ba543d6.mp3", "That'll grow back.", "", 4062170117, 809175527, Spawn)
  383. elseif choice == 3 then
  384. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_1/ft/troll/troll_base_1_1_halfhealth_gf_aa145f4d.mp3", "Neat, that'll leave a pretty scar", "", 70455099, 2953679351, Spawn)
  385. elseif choice == 4 then
  386. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_halfhealth_gf_9e239695.mp3", "I can taste my own blood.", "", 630688016, 620713228, Spawn)
  387. elseif choice == 5 then
  388. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_victory_gf_3ed1b9f0.mp3", "Mmmmm, I can taste that one now.", "", 4133059096, 3820060055, Spawn)
  389. elseif choice == 6 then
  390. PlayFlavor(NPC, "voiceover/english/optional3/troll_base_2/ft/troll/troll_base_2_1_victory_gf_aea1ef35.mp3", "Save that one before he spoils.", "", 3455464022, 3427621456, Spawn)
  391. end
  392. end
  393. elseif GetRace(NPC) == 12 then -- OGRE
  394. if GetGender(NPC) == 1 then -- MALE
  395. local choice = MakeRandomInt(1, 9)
  396. if choice == 1 then
  397. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_halfhealth_gm_aff2b15d.mp3", "Now I'm really angry!", "", 1599348947, 4096819162, Spawn)
  398. elseif choice == 2 then
  399. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_halfhealth_gm_1ad2d46f.mp3", "Your petty weapons are no match for me!", "", 2269900119, 3290320421, Spawn)
  400. elseif choice == 3 then
  401. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_halfhealth_gm_581c2926.mp3", "You'll pay for that!", "", 2366218696, 2114997045, Spawn)
  402. elseif choice == 4 then
  403. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_battle_gm_a507b2f0.mp3", "All our enemies must die but slowly and in agony!", "", 1370114090, 652323148, Spawn)
  404. elseif choice == 5 then
  405. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_halfhealth_gm_5a6c112c.mp3", "Agggggh! There is no pain only death and failure!", "", 2051650869, 1276361533, Spawn)
  406. elseif choice == 6 then
  407. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_battle_mm_9fc6deb.mp3", "It's easier if you start begging now!", "", 399736626, 2966532528, Spawn)
  408. elseif choice == 7 then
  409. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_battle_gm_fa6b8296.mp3", "They cannot match our strength. Charge!", "", 746723290, 3157649317, Spawn)
  410. elseif choice == 8 then
  411. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_battle_mm_5bb7e77c.mp3", "I will turn you into a stain on the ground!", "", 2590854690, 2742765511, Spawn)
  412. elseif choice == 9 then
  413. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_battle_gm_b07ff13.mp3", "Pummel them into mulch!", "", 4059634632, 2590934226, Spawn)
  414. end
  415. elseif GetGender(NPC) == 2 then -- FEMALE
  416. local choice = MakeRandomInt(1, 4)
  417. if choice == 1 then
  418. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_halfhealth_gf_aff2b15d.mp3", "Now I'm really angry!", "", 3362643729, 1907494922, Spawn)
  419. elseif choice == 2 then
  420. PlayFlavor(NPC, "voiceover/english/ogre_base_1/ft/ogre/ogre_base_1_1_halfhealth_gf_581c2926.mp3", "You'll pay for that!", "", 480032723, 3225416629, Spawn)
  421. elseif choice == 3 then
  422. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_battle_gf_bbb1e860.mp3", "Our strength is unstoppable!", "", 988836578, 2729704221, Spawn)
  423. elseif choice == 4 then
  424. PlayFlavor(NPC, "voiceover/english/optional3/ogre_base_2/ft/ogre/ogre_base_2_1_halfhealth_gf_5a6c112c.mp3", "Agggggh! There is no pain only death and failure!", "", 3230209009, 2587978067, Spawn)
  425. end
  426. end
  427. elseif GetRace(NPC) == 1 then -- DARK ELF
  428. if GetGender(NPC) == 1 then -- MALE
  429. local choice = MakeRandomInt(1, 4)
  430. if choice == 1 then
  431. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_halfhealth_gm_577ab333.mp3", "You'll pay for that one, peon!", "", 2956531892, 297392306, Spawn)
  432. elseif choice == 2 then
  433. 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, Spawn)
  434. elseif choice == 3 then
  435. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_battle_mm_c0d1fca7.mp3", "Bleed for me now, minion!", "", 4294804548, 755847298, Spawn)
  436. elseif choice == 4 then
  437. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_battle_mm_4832fde6.mp3", "Now, prepare to be eviscerated!", "", 3289459313, 747137322, Spawn)
  438. end
  439. elseif GetGender(NPC) == 2 then -- FEMALE
  440. local choice = MakeRandomInt(1, 6)
  441. if choice == 1 then
  442. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_battle_mf_2304c1b1.mp3", "For you there will be no mercy.", "", 3416003611, 1827385682, Spawn)
  443. elseif choice == 2 then
  444. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_2_halfhealth_gf_9e244d19.mp3", "How dare you!", "", 2263865273, 2956956838, Spawn)
  445. elseif choice == 3 then
  446. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_halfhealth_gf_d3fcd4c5.mp3", "How dare you strike me!", "", 1224879133, 2564393271, Spawn)
  447. elseif choice == 4 then
  448. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_2/ft/darkelf/darkelf_base_2_1_battle_gf_666198d0.mp3", "Grind them all into dust!", "", 1850467700, 1020294863, Spawn)
  449. elseif choice == 5 then
  450. 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, Spawn)
  451. elseif choice == 6 then
  452. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_battle_gf_316a6c63.mp3", "I crave your suffering!", "", 515633448, 1264888848, Spawn)
  453. end
  454. end
  455. elseif GetRace(NPC) == 9 then -- HUMAN
  456. if GetGender(NPC) == 1 then -- MALE
  457. local choice = MakeRandomInt(1, 2)
  458. if choice == 1 then
  459. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_halfhealth_gm_1babf022.mp3", "Is that all you have?", "", 170267964, 1158805306, Spawn)
  460. elseif choice == 2 then
  461. PlayFlavor(NPC, "voiceover/english/human_base_1/ft/human/human_base_1_1_halfhealth_gm_8529e507.mp3", "I can't hold them forever!", "", 644448824, 755050547, Spawn)
  462. end
  463. elseif GetGender(NPC) == 2 then -- FEMALE
  464. PlayFlavor(NPC, "voiceover/english/optional3/human_base_1/ft/human/human_base_1_1_halfhealth_gf_8529e507.mp3", "I can't hold them forever!", "", 3371581229, 792393228, Spawn)
  465. end
  466. elseif GetRace(NPC) == 13 then -- RATONGA
  467. if GetGender(NPC) == 1 then -- MALE
  468. local choice = MakeRandomInt(1, 2)
  469. if choice == 1 then
  470. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_halfhealth_gm_ff30e9f.mp3", "Shifty thingsies you are.", "", 1278101479, 3726164952, Spawn)
  471. elseif choice == 2 then
  472. PlayFlavor(NPC, "voiceover/english/optional3/ratonga_base_2/ft/ratonga/ratonga_base_2_1_battle_gm_e4984551.mp3", "Timeses for you to bleed!", "", 3561855509, 132291331, Spawn)
  473. end
  474. end
  475. elseif GetRace(NPC) == 6 then -- HALF ELF
  476. if GetGender(NPC) == 2 then -- FEMALE
  477. PlayFlavor(NPC, "voiceover/english/optional3/halfelf_base_1/ft/halfelf/halfelf_base_1_1_halfhealth_gf_e48659f9.mp3", "Now, that really hurt!", "", 413378164, 719939114, Spawn)
  478. end
  479. end -- END OF THE "RACE CHECK"
  480. end -- END OF THE FUNCTION