9
3

QueenEzeldra.lua 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. --[[
  2. Script Name : SpawnScripts/PeatBog/QueenEzeldra.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.05.27 10:05:16
  5. Script Purpose :
  6. :
  7. --]]
  8. function aggro(NPC,Spawn)
  9. if not HasLanguage(Spawn,23 )then
  10. Garbled(NPC,Spawn)
  11. else
  12. local choice = MakeRandomInt(1,3)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/optional3/fairy_darkflight/ft/fairy/fairy_darkflight_1_aggro_8be1ad52.mp3", "Dreams of death to you!", "", 3202933072, 210037574, Spawn, 23)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/optional3/fairy_darkflight/ft/fairy/fairy_darkflight_1_aggro_8d59fd03.mp3", "We are the terror you will never forget!", "", 2533792944, 1310429329, Spawn, 23)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/optional3/fairy_darkflight/ft/fairy/fairy_darkflight_1_aggro_d061d749.mp3", "Never fear... No... Wait... Do!", "", 1779062474, 2585771660, Spawn, 23)
  19. end
  20. end
  21. end
  22. function Garbled(NPC,Spawn)
  23. local choice = MakeRandomInt(1,4)
  24. if choice == 1 then
  25. PlayFlavor(NPC, "voiceover/english/optional3/fairy_bog/ft/fairy/fairy_bog_1_garbled_628bdbdb.mp3", "Meraania suvalas itresteien", "", 711889774, 2079504251, Spawn, 23)
  26. elseif choice == 2 then
  27. PlayFlavor(NPC, "voiceover/english/optional3/fairy_bog/ft/fairy/fairy_bog_1_garbled_e858f993.mp3", "Tawaneee follahh dilifilongia avee", "", 2527230882, 3520925768,Spawn, 23)
  28. elseif choice == 3 then
  29. PlayFlavor(NPC, "voiceover/english/optional3/fairy_bog/ft/fairy/fairy_bog_1_garbled_29e4606e.mp3", "Peelahha misialloniassaa laliallasala", "", 4233892159, 3471050504, Spawn, 23)
  30. elseif choice == 4 then
  31. PlayFlavor(NPC, "voiceover/english/optional3/fairy_bog/ft/fairy/fairy_bog_1_garbled_dfa9e7d9.mp3", "Amamooenoo illysavah leetah", "", 2254044711, 2481645116, Spawn, 23)
  32. end
  33. end
  34. function death(NPC,Spawn)
  35. if not HasLanguage(Spawn,23 )then
  36. Garbled(NPC,Spawn)
  37. else
  38. local choice = MakeRandomInt(1,2)
  39. if choice == 1 then
  40. PlayFlavor(NPC, "voiceover/english/optional3/fairy_darkflight/ft/fairy/fairy_darkflight_1_death_f67ebee2.mp3", "How did you do that?", "", 3830312587, 474588981, Spawn, 23)
  41. elseif choice == 2 then
  42. PlayFlavor(NPC, "voiceover/english/optional3/fairy_darkflight/ft/fairy/fairy_darkflight_1_death_2032180a.mp3", "We need a hero!", "", 1641018494, 2750735704, Spawn, 23)
  43. end
  44. end
  45. end