peq-quests/solrotower/Solusek_Ro.lua
2023-08-15 11:39:43 -04:00

27 lines
708 B
Lua

function event_death_complete(e)
eq.spawn2(218068,0,0, 0, -823, 243, 255); --A_Planar_Projection
eq.get_entity_list():FindDoor(38):SetLockPick(0); --unlock fire chute
eq.get_entity_list():FindDoor(39):SetLockPick(0); --unlock fire chute
end
function event_combat(e)
if e.joined then
eq.set_timer("OOBcheck", 6 * 1000); -- 6 Sec OOB Check
else
eq.stop_timer("OOBcheck");
end
end
function event_timer(e)
if(e.timer=="OOBcheck") then
eq.stop_timer("OOBcheck");
if (e.self:GetZ() < 200) then
e.self:Say("If you wish to challenge me, you must do it on my terms!");
e.self:GotoBind();
e.self:WipeHateList();
else
eq.set_timer("OOBcheck", 6 * 1000); -- 6 Sec OOB Check
end
end
end