9
3

OverseerDaerla.lua 914 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/OverseerDaerla.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.02 06:10:41
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. local choice = MakeRandomInt(1,2)
  12. if choice == 1 then
  13. PlayFlavor(NPC,"voiceover/english/overseer_daerla/fprt_hood05/qst_overseer_daerla_callout1_1b99f97d.mp3","Begone, you filthy commoner! I have important work to do.","stare",850117394,1406850605,Spawn)
  14. elseif choice == 2 then
  15. PlayFlavor(NPC,"voiceover/english/overseer_daerla/fprt_hood05/qst_overseer_daerla_callout2_8e8f4739.mp3","All of you lowly refugees are to speak with me at once!","sniff",2064397815,2852618419,Spawn)
  16. end
  17. if GetQuestStep(Spawn, 5758)==2 then
  18. SetStepComplete(Spawn, 5758,2)
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end