9
3

SabertoothGnoll3.lua 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. --[[
  2. Script Name : SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll3.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.10 11:07:56
  5. Script Purpose : Sabertooth/Blackburrow Gnoll Callouts v3
  6. :
  7. --]]
  8. function Garbled(NPC,Spawn)
  9. local choice = MakeRandomInt(1,4)
  10. if choice == 1 then
  11. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_garbled_2f8caa7b.mp3", "Krovel grarggt ereverrrn", "", 1122929283, 3658577306, Spawn, 18)
  12. elseif choice == 2 then
  13. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_garbled_fe1eedd8.mp3", "Rrrrevvvvnarrr jahht ttekkkman", "", 1645430326, 4164358721, Spawn, 18)
  14. elseif choice == 3 then
  15. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_garbled_fad67c0f.mp3", "Grrrolven brakth kerrtt", "", 2388782747, 150543218, Spawn, 18)
  16. elseif choice == 4 then
  17. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_garbled_3eefc118.mp3", "Vologrrren aggart renevenn", "", 397065851, 1047274840, Spawn, 18)
  18. end
  19. end
  20. function aggro(NPC,Spawn)
  21. if not HasLanguage(Spawn,18 )then
  22. Garbled(NPC,Spawn)
  23. else
  24. local choice = MakeRandomInt(1,4)
  25. if choice == 1 then
  26. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_aggro_eb691f84.mp3", "Kill it! Kill it!", "", 2374241847, 3459468567, Spawn, 18)
  27. elseif choice == 2 then
  28. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_aggro_6b15057.mp3", "You gonna die so fast!", "", 2350648774, 622465898, Spawn, 18)
  29. elseif choice == 3 then
  30. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_aggro_a30c4f9d.mp3", "To arms!", "", 2661067862, 2199552110, Spawn, 18)
  31. elseif choice == 4 then
  32. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_aggro_6b15057.mp3", "You gonna die so fast!", "", 1562704963, 4195642460, Spawn, 18)
  33. end
  34. AddTimer(NPC,15000,"FifteenCall")
  35. end
  36. end
  37. function FifteenCall(NPC,Spawn)
  38. if IsInCombat(NPC)==true then
  39. if IsAlive(NPC)==true then
  40. if IsInCombat(NPC)==true then
  41. if math.random(0,100)<=30 then
  42. if not HasLanguage(Spawn,18 )then
  43. Garbled(NPC,Spawn)
  44. else
  45. local choice = MakeRandomInt(1,2)
  46. if choice == 1 then
  47. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_everyfifteenseconds_m_988fcd6a.mp3", "I will tear you apart!", "", 3850483612, 779825488, Spawn, 18)
  48. elseif choice == 2 then
  49. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_everyfifteenseconds_m_847d6a42.mp3", "I'll rip you up!", "", 1316436320, 319871230, Spawn, 18)
  50. end
  51. end
  52. end
  53. if IsAlive(NPC)then
  54. AddTimer(NPC,15000,"FifteenCall")
  55. end
  56. end
  57. end
  58. end
  59. end
  60. function death(NPC,Spawn)
  61. if math.random(0,100)<=60 then
  62. if not HasLanguage(Spawn,18 )then
  63. Garbled(NPC,Spawn)
  64. else
  65. local choice = MakeRandomInt(1,2)
  66. if choice == 1 then
  67. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_death_54a66dcc.mp3", "You gonna pay for that.", "", 4273480118, 3094167241, Spawn, 18)
  68. elseif choice == 2 then
  69. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_death_28e36f9f.mp3", "That one died.", "", 3831080059, 4019739051, Spawn, 18)
  70. end
  71. end
  72. end
  73. end
  74. function victory(NPC,Spawn)
  75. if HasLanguage(Spawn,18 )then
  76. local choice = MakeRandomInt(1,3)
  77. if choice == 1 then
  78. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_victory_d3093859.mp3", "For you then Qeynos!", "", 3698260724, 2781542733, Spawn, 18)
  79. elseif choice == 2 then
  80. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_victory_1ee5a435.mp3", "Now it's time to ruin your lands.", "", 3136436170, 378451446, Spawn, 18)
  81. elseif choice == 3 then
  82. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_3_victory_e99dd57c.mp3", "Who gonna die next?", "", 2679377087, 3844588159, Spawn, 18)
  83. end
  84. end
  85. end