GuardDugar.lua 566 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/SunkenCity_Classic/GuardDugar.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.24 03:10:13
  5. Script Purpose :
  6. :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. require "SpawnScripts/Generic/NPCModule"
  10. function spawn(NPC, Spawn)
  11. NPCModule(NPC, Spawn)
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. if GetFactionAmount(Spawn,12)<0 then
  18. else
  19. FaceTarget(NPC, Spawn)
  20. GenericGuardHail(NPC,Spawn)
  21. end
  22. end