OverseerMelkia.lua 913 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/Stonestair/OverseerMelkia.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.02 06:10:18
  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_melkia/fprt_hood02/qst_overseer_melkia_callout1_8dc5a24e.mp3","You disgusting little creature! How dare you address me?","lookaway",256372118,1746198863,Spawn)
  14. elseif choice == 2 then
  15. PlayFlavor(NPC,"voiceover/english/overseer_melkia/fprt_hood02/qst_overseer_melkia_callout2_e5f9b75f.mp3","New refugees are required to speak with me immediately!","nod",566743467,1453719370,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