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

28 lines
No EOL
580 B
Lua
Executable file

--[[
Script Name : SpawnScripts/Commonlands/asmugglingcrate.lua
Script Author : Premierio015
Script Date : 2021.03.31 09:03:51
Script Purpose :
:
--]]
local QUEST = 453 -- Crates on the Nerves Quest
function spawn(NPC)
end
function casted_on(NPC, Spawn, SpellName)
if HasQuest(Spawn, QUEST) and GetQuestStep(Spawn, QUEST) == 10 then
if SpellName == 'Investigate Crate' then
SetStepComplete(Spawn, QUEST, 10)
end
end
end
function respawn(NPC)
spawn(NPC)
end