TheBonebreaker.lua 633 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/FreeportBetrayal/TheBonebreaker.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.25 06:09:30
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/CombatModule"
  9. function spawn(NPC, Spawn)
  10. combatModule(NPC, Spawn)
  11. end
  12. function victory(NPC,Spawn)
  13. if IsPlayer(Spawn) == true then
  14. AddTimer(NPC,1500,"FailureExit",1,Spawn)
  15. end
  16. end
  17. function FailureExit(NPC,Spawn)
  18. FailExit = GetZone("SerpentSewer")
  19. Zone(FailExit,Spawn,-133.56, -0.21, 28.15, 41.26)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end