mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
28 lines
703 B
Lua
28 lines
703 B
Lua
function event_death_complete(e)
|
|
if not eq.get_entity_list():IsMobSpawnedByNpcTypeID(340413) and not eq.get_entity_list():IsMobSpawnedByNpcTypeID(340412) then
|
|
eq.signal(340395,1); -- NPC: #Lore_Warden
|
|
eq.signal(340391,1); -- NPC: Messenger_Drake
|
|
end
|
|
end
|
|
|
|
function event_combat(e)
|
|
if e.joined then
|
|
eq.set_timer("OOBcheck", 3 * 1000);
|
|
else
|
|
eq.stop_timer("OOBcheck");
|
|
end
|
|
end
|
|
|
|
|
|
function event_timer(e)
|
|
if(e.timer=="OOBcheck") then
|
|
eq.stop_timer("OOBcheck");
|
|
if (e.self:GetX() < 1712 and e.self:GetY() < 2433) then
|
|
e.self:GotoBind();
|
|
e.self:WipeHateList();
|
|
e.self:CastSpell(3230,e.self:GetID()); -- Spell: Balance of the Nameless
|
|
else
|
|
eq.set_timer("OOBcheck", 3 * 1000);
|
|
end
|
|
end
|
|
end
|