9
3

aQeynosianscout02.lua 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aQeynosianscout02.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.04.18 05:04:25
  5. Script Purpose : a Qeynosian scout script
  6. Notes :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = math.random(1,2)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "", "Keep up this noise and the Morak will have us all for dinner!", "", 0, 0, Spawn)
  15. else
  16. PlayFlavor(NPC, "", "The smell of death lingers near.", "", 0, 0, Spawn)
  17. end
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function killed(NPC)
  23. local choice = math.random(1,2)
  24. if choice == 1 then
  25. PlayFlavor(NPC, "voiceover/english/woodelf_base_1/ft/woodelf/woodelf_base_1_1_victory_gm_1d908867.mp3", "The soil thanks you for your donation.", "", 2150629553, 2562009754)
  26. else
  27. PlayFlavor(NPC, "voiceover/english/woodelf_base_1/ft/woodelf/woodelf_base_1_1_victory_gm_729d9b4e.mp3", "To the earth from where you came.", "", 3172278083, 481654365)
  28. end
  29. end