peq-quests/highpasshold/a_smuggler.lua
2023-08-15 11:39:43 -04:00

15 lines
423 B
Lua

function event_combat(e)
if e.joined then
e.self:Say(string.format("Time to die %s!",e.other:GetCleanName()));
end
end
function event_signal(e)
if(e.signal == 1) then
e.self:Say("The boss might need some help!");
local stanos = eq.get_entity_list():GetMobByNpcTypeID(5088); -- Stanos_Herkanor
if ( stanos.valid ) then
e.self:MoveTo(stanos:GetX(), stanos:GetY(), stanos:GetZ(), -1, false);
end
end
end