mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
27 lines
639 B
Lua
27 lines
639 B
Lua
function event_death_complete(e)
|
|
eq.unique_spawn(212063, 0, 0, e.self:GetX(), e.self:GetY(), e.self:GetZ(), e.self:GetHeading()); -- NPC: #Rizlona
|
|
end
|
|
|
|
function event_combat(e)
|
|
if e.joined then
|
|
eq.set_timer("OOBcheck", 6 * 1000);
|
|
else
|
|
eq.stop_timer("OOBcheck");
|
|
end
|
|
end
|
|
|
|
|
|
function event_timer(e)
|
|
if(e.timer=="OOBcheck") then
|
|
eq.stop_timer("OOBcheck");
|
|
if (e.self:GetY() < 2076) then
|
|
e.self:Say("If you wish to challenge me, you must do it on my terms!");
|
|
e.self:CastSpell(2830, e.self:GetID())
|
|
e.self:SetHP(e.self:GetMaxHP());
|
|
e.self:GotoBind();
|
|
e.self:WipeHateList();
|
|
else
|
|
eq.set_timer("OOBcheck", 6 * 1000);
|
|
end
|
|
end
|
|
end
|