9
3

KaelarriIvyshae.lua 1.6 KB

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/KaelarriIvyshae.lua
  3. Script Purpose : Kaelarri Ivyshae
  4. Script Author : John Adams
  5. Script Date : 2008.09.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,5)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gf_31587971.mp3", "Greetings, friend. I hope your visit to the city brings both inner peace and prosperity.", "curtsey", 999961843, 2491010297, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gf_10181485.mp3", "The forces of good are all wrought from the strength of the innocent.", "bow", 1746715399, 2834476927, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gf_45ac4aea.mp3", "I never thought it would be so difficult to carry on. I have no songs left in my heart.", "sigh", 2446660394, 3437698252, Spawn)
  17. elseif choice == 4 then
  18. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gf_46ea1119.mp3", "So much blood and so many lost. I never believed it would end this way.", "sad", 1351206018, 3386717578, Spawn)
  19. elseif choice == 5 then
  20. PlayFlavor(NPC, "voiceover/english/woodelf_eco_good_1/ft/woodelf/woodelf_eco_good_1_hail_gf_67432087.mp3", "We must remain steady against the influence of evil. Only with perseverance will Qeynos survive!", "shakefist", 927768431, 1576503790, Spawn)
  21. else
  22. end
  23. end