mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
24 lines
456 B
Lua
Executable file
24 lines
456 B
Lua
Executable file
--[[
|
|
Script Name : <script-name>
|
|
Script Purpose : <purpose>
|
|
Script Author : <author-name>
|
|
Script Date : <date>
|
|
Script Notes : <special-instructions>
|
|
--]]
|
|
|
|
function spawn(NPC)
|
|
SetRequiredQuest(NPC, 127, 1)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end
|
|
|
|
function casted_on(Target, Caster)
|
|
if HasQuest(Caster, 127) and GetQuestStep(Caster, 127) == 1 then
|
|
SetStepComplete(Caster, 127, 1)
|
|
end
|
|
end
|