Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
The_Protector_of_Dresolik.lua - Quest File
General Info
Quest File
function event_spawn(e) eq.set_timer("depop", 1800 * 1000); end function event_combat(e) if (e.joined == true) then eq.set_timer("OOBcheck", 6 * 1000); eq.stop_timer("depop"); else eq.stop_timer("OOBcheck"); eq.set_timer("depop", 1800 * 1000); end end function event_timer(e) if(e.timer=="OOBcheck") then eq.stop_timer("OOBcheck"); if (e.self:GetX() < 546 or e.self:GetX() > 994) then e.self:Say("Dresolik must not be disturbed!"); 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 elseif(e.timer == "depop") then eq.stop_timer("depop"); eq.depop(); end end function event_death_complete(e) eq.unique_spawn(202366, 0, 0, e.self:GetX(), e.self:GetY(), e.self:GetZ(), e.self:GetHeading()); -- NPC: A_Planar_Projection eq.spawn2(212075,0,0,972,1918,-164,126); --a_warder_of_Dresolik (212075) eq.spawn2(212075,0,0,1043,1918,-164,382); --a_warder_of_Dresolik (212075) eq.spawn2(212075,0,0,1007,1980,-164,0); --a_warder_of_Dresolik (212075) end
Source: 17 Jan 2022
Quest Source: 28 May 2022