9
3

LucanicKnightInitiate.lua 878 B

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/OverlordsPrivateChambers/LucanicKnightInitiate.lua
  3. Script Author : Dorbin
  4. Script Date : 2023.09.24 11:09:14
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/CombatModule"
  9. function spawn(NPC, Spawn)
  10. combatModule(NPC, Spawn)
  11. end
  12. function aggro(NPC, Spawn)
  13. -- PlayFlavor(NPC, "voiceover/english/darkelf_eco_evil_1/ft/service/guard/darkelf_guard_service_evil_1_kill_gf_1ec6eff4.mp3", "Death to the enemies of Lucan!", "", 4030922503, 1352663696, Spawn)
  14. end
  15. function respawn(NPC)
  16. spawn(NPC)
  17. end
  18. function victory(NPC,Spawn)
  19. if IsPlayer(Spawn) == true then
  20. AddTimer(NPC,1500,"FailureExit",1,Spawn)
  21. end
  22. end
  23. function FailureExit(NPC,Spawn)
  24. FailExit = GetZone("SerpentSewer")
  25. Zone(FailExit,Spawn,-133.56, -0.21, 28.15, 41.26)
  26. end