mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
23 lines
560 B
Lua
23 lines
560 B
Lua
--Ikkinz Raid #4: Chambers of Destruction
|
|
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() < 500 or e.self:GetX() > 750 or e.self:GetY() > -120 or e.self:GetY() < -300) then
|
|
e.self:CastSpell(3791,e.self:GetID()); -- Spell: Ocean's Cleansing
|
|
e.self:GotoBind();
|
|
e.self:WipeHateList();
|
|
e.self:SetHP(e.self:GetMaxHP());
|
|
else
|
|
eq.set_timer("OOBcheck", 3 * 1000);
|
|
end
|
|
end
|
|
end
|