Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
#Vallon_Zek_.lua - Quest File
General Info
Quest File
-- Vallon Zek part of rztwl script Huffin rewrite function event_spawn(e) eq.set_next_hp_event(51); e.self:SetRunning(true); eq.set_timer('depop', 1020 * 1000); --17 minutes of no combat on either one until vz/tz depop happens end function event_hp(e) if(e.hp_event == 51) then eq.spawn2(214129,0,0,e.self:GetX()-10,e.self:GetY(),e.self:GetZ(),e.self:GetHeading()); --VZ split eq.spawn2(214129,0,0,e.self:GetX()+10,e.self:GetY(),e.self:GetZ(),e.self:GetHeading()); --VZ split end end function event_waypoint_arrive(e) if(e.wp == 9) then eq.spawn2(214084,0,0,359,73,169,255); --Gindan_Flayer 214084 eq.spawn2(214084,0,0,383,73,169,255); --Gindan_Flayer 214084 eq.spawn2(214084,0,0,308,73,169,255); --Gindan_Flayer 214084 eq.spawn2(214084,0,0,283,73,169,255); --Gindan_Flayer 214084 end end function event_death_complete(e) eq.signal(214123,214111); -- Tell trigger that Vallon is dead eq.signal(214084,1); --signal gindan flayers for depop script end function event_combat(e) if (e.joined == true) then if(not eq.is_paused_timer('depop')) then eq.pause_timer('depop'); end eq.set_timer("OOBcheck", 6 * 1000); else eq.resume_timer('depop'); eq.stop_timer("OOBcheck"); end end function event_timer(e) if (e.timer == 'depop') then eq.signal(214123,777); -- tell trigger mob tz/vz failed, reset sequence eq.depop_all(214129); -- depop VZ splits eq.depop_all(214108); -- depop #Tallon_Zek (214108) eq.depop_all(214086); --Hendin_Shadow_Master (214086) eq.depop_all(214084); --Gindan_Flayer 214084 eq.depop(); elseif(e.timer=="OOBcheck") then if (e.self:GetX() > 650) then e.self:CastSpell(2441, e.self:GetTarget():GetID()); -- Spell: Shadowblade e.self:Emote("'s image fades into the shadows of Drunder."); e.self:GMMove(365,11,181,129); -- does not wipe hate list else eq.set_timer("OOBcheck", 6 * 1000); end end end
Source: 17 Jan 2022
Quest Source: 28 May 2022