mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
25 lines
No EOL
562 B
Lua
Executable file
25 lines
No EOL
562 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/TheGraveyard_Classic/GuardLSek.lua
|
|
Script Author : Dorbin
|
|
Script Date : 2023.08.29 12:08:58
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
|
|
require "SpawnScripts/Generic/NPCModule"
|
|
|
|
function spawn(NPC, Spawn)
|
|
NPCModule(NPC, Spawn)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
if GetFactionAmount(Spawn,12)<0 then
|
|
else
|
|
FaceTarget(NPC, Spawn)
|
|
GenericGuardHail(NPC,Spawn)
|
|
end
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |