projecteq-projecteqquests/txevu/297152.lua
2023-08-15 11:39:43 -04:00

21 lines
440 B
Lua

--south jail mobs
function event_combat(e)
if e.joined then
eq.set_timer("OOBcheck", 3000)
else
eq.stop_timer("OOBcheck")
end
end
function event_timer(e)
if(e.timer=="OOBcheck") then
eq.stop_timer("OOBcheck");
if (e.self:GetY() > -175) then
e.self:CastSpell(3791,e.self:GetID()); -- Spell: Ocean's Cleansing
e.self:GotoBind();
e.self:WipeHateList();
else
eq.set_timer("OOBcheck", 3 * 1000);
end
end
end