OverseerZerrin.lua 923 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/BeggarsCourt/OverseerZerrin.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.02 07:10:39
  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_zerrin/fprt_hood04/qst_overseer_zerrin_callout1_5fcc363d.mp3","Ever wonder how long you can breathe water? Keep talking to me and you'll find out.","glare",1789839755,3380246682,Spawn)
  14. elseif choice == 2 then
  15. PlayFlavor(NPC,"","Did you just drop off the boat here or something? I'm not making money by giving it away. I'd like to retire someday, you know.","no",50468124,3582989183,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