mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
27 lines
484 B
Lua
27 lines
484 B
Lua
-- Vallon Zek fake 2
|
|
|
|
function event_spawn(e)
|
|
eq.set_timer("depop", 120000);
|
|
end
|
|
|
|
function event_combat(e)
|
|
if ( e.joined ) then
|
|
eq.set_timer("bounds", 6000);
|
|
eq.pause_timer("depop");
|
|
else
|
|
eq.stop_timer("bounds");
|
|
eq.resume_timer("depop");
|
|
end
|
|
end
|
|
|
|
function event_timer(e)
|
|
|
|
if ( e.timer == "depop" ) then
|
|
eq.depop();
|
|
|
|
elseif ( e.timer == "bounds" ) then
|
|
if ( e.self:GetY() < 1750 and e.self:GetX() < 0 ) then
|
|
e.self:GMMove(-625, 1980, 204.5, 64);
|
|
end
|
|
end
|
|
end
|