mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
13 lines
245 B
Lua
13 lines
245 B
Lua
function event_spawn(event)
|
|
eq.set_timer("depop", 1200000);
|
|
end
|
|
|
|
function event_timer(event)
|
|
|
|
if ( event.self:IsEngaged() ) then
|
|
eq.set_timer("depop", 10000); -- don't depop if aggro
|
|
else
|
|
eq.depop();
|
|
eq.stop_timer("depop");
|
|
end
|
|
end
|