SabertoothGnoll1.lua 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/Generic/MonsterCallouts/SabertoothGnoll1.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.07.10 11:07:22
  5. Script Purpose : Sabertooth/Blackburrow Gnoll Callouts v1
  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_1_garbled_2f8caa7b.mp3", "Krovel grarggt ereverrrn", "", 2454882013, 434276853, Spawn, 18)
  12. elseif choice == 2 then
  13. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_garbled_fe1eedd8.mp3", "Rrrrevvvvnarrr jahht ttekkkman", "", 3407045914, 798891256, Spawn, 18)
  14. elseif choice == 3 then
  15. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_garbled_fad67c0f.mp3", "Grrrolven brakth kerrtt", "", 2692549712, 1373836181, Spawn, 18)
  16. elseif choice == 4 then
  17. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_garbled_3eefc118.mp3", "Vologrrren aggart renevenn", "", 2656272022, 3945298691, 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_1_aggro_a30c4f9d.mp3", "To arms!", "", 3639876864, 358358864, Spawn, 18)
  27. elseif choice == 2 then
  28. PlayFlavor(NPC, "voiceover/english/gnoll_base_1/ft/gnoll/gnoll_base_1_1_battle_m_2b13fb2e.mp3", "For the pack!", "", 2513141586, 2807818416, Spawn, 18)
  29. elseif choice == 3 then
  30. PlayFlavor(NPC, "voiceover/english/gnoll_base_1/ft/gnoll/gnoll_base_1_1_aggro_75cd5d19.mp3", "Not allowed here!", "", 1292107958, 2335134714, 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. end
  35. end
  36. function death(NPC,Spawn)
  37. if math.random(0,100)<=75 then
  38. if not HasLanguage(Spawn,18 )then
  39. Garbled(NPC,Spawn)
  40. else
  41. local choice = MakeRandomInt(1,2)
  42. if choice == 1 then
  43. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_death_54a66dcc.mp3", "You gonna pay for that.", "", 225817702, 4152116120, Spawn, 18)
  44. elseif choice == 2 then
  45. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_death_28e36f9f.mp3", "That one died.", "", 3168760203, 1628996126, Spawn, 18)
  46. end
  47. end
  48. end
  49. end
  50. function victory(NPC,Spawn)
  51. if HasLanguage(Spawn,18 )then
  52. local choice = MakeRandomInt(1,2)
  53. if choice == 1 then
  54. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_victory_e99dd57c.mp3", "Who gonna die next?", "", 3154262772, 3358379714, Spawn, 18)
  55. elseif choice == 2 then
  56. PlayFlavor(NPC, "voiceover/english/gnoll_sabertooths/ft/gnoll/gnoll_sabertooths_1_victory_d3093859.mp3", "For you then Qeynos!", "", 3731181629, 3720275746, Spawn, 18)
  57. end
  58. end
  59. end