9
3

MasterArcherNightbow.lua 1.4 KB

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/MasterArcherNightbow.lua
  3. Script Purpose : Master Archer Nightbow <Bowyer>
  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,6)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "", "Greetings, friend traveler! We have the finest supplies to fill your adventuring needs.", "smile", 1689589577, 4560189, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "", "Go on, take a look at the stock. You'll never beat this price in the city. I guarantee it!", "wink", 1689589577, 4560189, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/master_archer_nightbow/qey_elddar/100_merchant_halfelf_nightbow_callout1_f29bf504.mp3", "Welcome to In-Range. How can I oblige you, traveler?", "", 514837561, 1511494370, Spawn)
  17. elseif choice == 4 then
  18. PlayFlavor(NPC, "voiceover/english/master_archer_nightbow/qey_elddar/100_merchant_halfelf_nightbow_multhail2_8e9f4cb0.mp3", "What is it you need, traveler?", "", 4065639405, 4258763812, Spawn)
  19. elseif choice == 5 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1021.mp3", "", "", 0, 0, Spawn)
  21. elseif choice == 6 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1021.mp3", "", "", 0, 0, Spawn)
  23. else
  24. end
  25. end