9
3

CorrynMenai.lua 1.2 KB

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/SouthQeynos/CorrynMenai.lua
  3. Script Purpose : Corryn Menai
  4. Script Author : Cynnar
  5. Script Date : 2020.04.12
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
  11. SetInfoStructString(NPC, "action_state", "cast_priest_buff_01")
  12. end
  13. function hailed(NPC, Spawn)
  14. local choice = MakeRandomInt(1,3)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_ef2b9651.mp3", "Will you quit pestering me? Don't force me to summon the guards!", "", 3345611839, 1442739842,Spawn)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_e58035f3.mp3", "What do you want? Leave me be!", "", 1323474108, 3355478224,Spawn)
  19. elseif choice == 3 then
  20. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gm_d38d1fff.mp3", "Ah, what have we here? Glad to see you endured the journey here adventurer.", "", 2806352129, 3453714070,Spawn)
  21. end
  22. end