ValmaarSkeletonVoiceOvers.lua 2.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/Generic/ValmaarSkeletonVoiceOvers.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.05.24 09:05:29
  5. Script Purpose : Voiceovers for skeletons in The Ruins of Val'maar location (Commonlands)
  6. :
  7. --]]
  8. function generic_aggro(NPC, Spawn)
  9. local choice = MakeRandomInt(1, 6)
  10. if choice == 1 then
  11. PlayFlavor(NPC, "voiceover/english/optional3/skeleton_valmaar/ft/skeleton/skeleton_valmaar_2_aggro_a9aeccd0.mp3", "Now you too are lost!", "", 330442579, 25448442, Spawn)
  12. elseif choice == 2 then
  13. PlayFlavor(NPC, "voiceover/english/skeleton_valmaar/ft/skeleton/skeleton_valmaar_1_aggro_a9aeccd0.mp3", "Now you too are lost!", "", 956890590, 2033116292, Spawn)
  14. elseif choice == 3 then
  15. PlayFlavor(NPC, "voiceover/english/optional3/skeleton_valmaar/ft/skeleton/skeleton_valmaar_2_aggro_2d55baf0.mp3", "You shouldn't be here!", "", 3188174334, 392028665, Spawn)
  16. elseif choice == 4 then
  17. PlayFlavor(NPC, "voiceover/english/skeleton_valmaar/ft/skeleton/skeleton_valmaar_1_aggro_2d55baf0.mp3", "You shouldn't be here!", "", 2477031723, 502324022, Spawn)
  18. else
  19. PlayFlavor(NPC, "voiceover/english/skeleton_valmaar/ft/skeleton/skeleton_valmaar_1_aggro_a738ef45.mp3", "Your presence enrages me!", "", 1243506789, 2872748071, Spawn)
  20. end
  21. end
  22. function generic_death(NPC, Spawn)
  23. local choice = MakeRandomInt(1, 4)
  24. if choice == 1 then
  25. PlayFlavor(NPC, "voiceover/english/optional3/skeleton_valmaar/ft/skeleton/skeleton_valmaar_2_death_6fef3663.mp3", "Death is nothing new to us!", "", 589223256, 65809198, Spawn)
  26. elseif choice == 2 then
  27. PlayFlavor(NPC, "voiceover/english/skeleton_valmaar/ft/skeleton/skeleton_valmaar_1_death_6fef3663.mp3", "Death is nothing new to us!", "", 2571752122, 1052222399, Spawn)
  28. elseif choice == 3 then
  29. PlayFlavor(NPC, "voiceover/english/skeleton_valmaar/ft/skeleton/skeleton_valmaar_1_death_8c92de7b.mp3", "It takes more than Death to stop the undead.", "", 125607423, 105668091, Spawn)
  30. else
  31. PlayFlavor(NPC, "voiceover/english/optional3/skeleton_valmaar/ft/skeleton/skeleton_valmaar_2_death_8c92de7b.mp3", "It takes more than death to stop the undead.", 596294144, 2229602720, Spawn)
  32. end
  33. end