9
3

aBloodsaberadept.lua 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. --[[
  2. Script Name : SpawnScripts/VerminsSnye/aBloodsaberadept.lua
  3. Script Purpose : Brawler Bently Dialog
  4. Script Author : premierio015
  5. Script Date : 03.05.2020
  6. Script Notes :
  7. --]]
  8. function spawn(NPC, Spawn)
  9. end
  10. function respawn(NPC, Spawn)
  11. spawn(NPC, Spawn)
  12. end
  13. function hailed(NPC, Spawn)
  14. end
  15. function aggro(NPC, Spawn)
  16. local chance = math.random(1, 100)
  17. if chance <= 10 then
  18. if GetRace(NPC) == 9 and GetGender(NPC) == 2 then
  19. local choice = math.random(1, 2)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/optional3/human_bloodsabers/ft/human/human_bloodsabers_1_aggro_gf_34e0cc80.mp3", "Who are you?", "", 1390873745, 3670437167, Spawn)
  22. else
  23. PlayFlavor(NPC, "voiceover/english/optional3/human_bloodsabers/ft/human/human_bloodsabers_1_aggro_gf_b58ea818.mp3", "If they report back to the city, we're finished!", "", 2515206723, 1526385385, Spawn)
  24. end
  25. elseif GetRace(NPC) == 9 and GetGender(NPC) == 1 then
  26. local choice = math.random(1, 3)
  27. if choice == 1 then
  28. PlayFlavor(NPC, "voiceover/english/optional5/human_bloodsabers/ft/human/human_bloodsabers_2_aggro_gm_75242b00.mp3", "Don't waste any time. Kill them!", "", 1825576990, 2935601811, Spawn)
  29. elseif choice == 2 then
  30. PlayFlavor(NPC, "voiceover/english/optional5/human_bloodsabers/ft/human/human_bloodsabers_2_aggro_gm_34e0cc80.mp3", "Who are you?", "", 3726566794, 1486103830, Spawn)
  31. else
  32. PlayFlavor(NPC, "voiceover/english/optional5/human_bloodsabers/ft/human/human_bloodsabers_1_death_gm_e0b836af.mp3", "Stand your ground! You're just as dead if you leave.", "", 1931847018, 4291802023, Spawn)
  33. end
  34. elseif GetRace(NPC) == 1 and GetGender(NPC) == 2 then
  35. local choice = math.random(1, 6)
  36. if choice == 1 then
  37. 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)
  38. elseif choice == 2 then
  39. 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)
  40. elseif choice == 3 then
  41. 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)
  42. elseif choice == 4 then
  43. 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)
  44. elseif choice == 5 then
  45. 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, Spawn)
  46. else
  47. 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)
  48. end
  49. elseif GetRace(NPC) == 1 and GetGender(NPC) == 1 then
  50. PlayFlavor(NPC, "voiceover/english/optional3/darkelf_base_1/ft/darkelf/darkelf_base_1_3_aggro_gm_beacbb30.mp3", "I hope you put your affairs in order.", "", 3784715901, 3120155333, Spawn)
  51. end
  52. end
  53. end