TyvalisVSorn.lua 510 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/fprt_ph_5r01/TyvalisVSorn.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.09.05 09:09:52
  5. Script Purpose :
  6. :
  7. --]]
  8. local KeyToFallenGate = 5252
  9. function spawn(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function death(NPC, Spawn)
  15. if GetQuestStep(Spawn, KeyToFallenGate) == 5 then
  16. AddStepProgress(Spawn, KeyToFallenGate, 5, 1)
  17. end
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end