eq2emu-content/SpawnScripts/MizansCellar/bed2.lua
2024-10-26 11:37:28 +00:00

21 lines
No EOL
441 B
Lua
Executable file

--[[
Script Name : SpawnScripts/MizansCellar/bed2.lua
Script Author : Dorbin
Script Date : 2022.09.22 05:09:18
Script Purpose :
:
--]]
function spawn(NPC)
SetPlayerProximityFunction(NPC, 20, "InRange", "LeaveRange")
end
function InRange(NPC,Spawn)
if QuestStepIsComplete(Spawn,5749,5)== true then
SpawnSet(NPC,"model_type","3")
end
end
function respawn(NPC)
spawn(NPC)
end