Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
#mage_trap.lua - Quest File
General Info
Quest File
function event_spawn(e) eq.set_proximity(e.self:GetX() - 100, e.self:GetX() + 100, e.self:GetY() - 100, e.self:GetY() + 100); end function event_enter(e) if(e.other:Class() == "Magician") then local qglobals = eq.get_qglobals(e.self,e.other); if(qglobals["mage_epic"] == "10" and qglobals["mage_epic_hoh"] == nil and eq.get_entity_list():IsMobSpawnedByNpcTypeID(211057) == false ) then if(e.self:GetY()==-2245) then e.other:Message(15,"The Order elemental focuses into your sight."); eq.set_global("mage_epic_hoh","1",3,"H2"); eq.set_timer("mage_epic_depop",30*60*1000); eq.spawn2(211057, 0, 0, -72.8,-2330.4,-117,384); -- NPC: #Order_Elemental else e.other:Message(15,"The blue gem on your staff glows.") end end end end function event_timer(e) if (e.timer=="mage_epic_depop") then eq.stop_timer("mage_epic_depop"); eq.depop_all(211057); end end
Source: 17 Jan 2022
Quest Source: 28 May 2022