Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
Kazrok_of_Fire.lua - Quest File
General Info
Quest File
function event_death_complete(e) -- send a signal to the #fire_trigger that I died eq.signal(223173,2); -- NPC: phase_one_fire end function event_spawn(e) eq.set_next_hp_event(76); end function event_hp(e) local xloc = e.self:GetX(); local yloc = e.self:GetY(); local zloc = e.self:GetZ(); local heading = e.self:GetHeading(); if (e.hp_event == 76) then -- spawn 2 of either a_flame_mephit_ or an_inferno_mephit_ eq.spawn2(eq.ChooseRandom(223094,223163),0,0,xloc,yloc + 15,zloc,heading); -- NPC(s): a_flame_mephit_ (223094), an_inferno_mephit_ (223163) eq.spawn2(eq.ChooseRandom(223094,223163),0,0,xloc,yloc - 15,zloc,heading); -- NPC(s): a_flame_mephit_ (223094), an_inferno_mephit_ (223163) eq.set_next_hp_event(51); elseif (e.hp_event == 51) then -- spawn 2 of either a_flame_mephit_ or an_inferno_mephit_ eq.spawn2(eq.ChooseRandom(223094,223163),0,0,xloc,yloc + 15,zloc,heading); -- NPC(s): a_flame_mephit_ (223094), an_inferno_mephit_ (223163) eq.spawn2(eq.ChooseRandom(223094,223163),0,0,xloc,yloc - 15,zloc,heading); -- NPC(s): a_flame_mephit_ (223094), an_inferno_mephit_ (223163) eq.set_next_hp_event(21); elseif (e.hp_event == 21) then -- spawn 2 of either a_flame_mephit_ or an_inferno_mephit_ eq.spawn2(eq.ChooseRandom(223094,223163),0,0,xloc,yloc + 15,zloc,heading); -- NPC(s): a_flame_mephit_ (223094), an_inferno_mephit_ (223163) eq.spawn2(eq.ChooseRandom(223094,223163),0,0,xloc,yloc - 15,zloc,heading); -- NPC(s): a_flame_mephit_ (223094), an_inferno_mephit_ (223163) end end
Source: 17 Jan 2022
Quest Source: 28 May 2022