2015-03-14 16:18:39 -04:00
|
|
|
-- player.lua codecay
|
2017-05-13 13:41:55 -04:00
|
|
|
function event_enter_zone(e)
|
|
|
|
|
local qglobals = eq.get_qglobals(e.self);
|
|
|
|
|
|
|
|
|
|
if(qglobals["mage_epic"] == "10" and qglobals["mage_epic_cod"] == nil) then
|
2023-08-13 17:16:42 -04:00
|
|
|
e.self:Message(MT.Yellow,"Your staff begins to glow");
|
2017-05-13 13:41:55 -04:00
|
|
|
end
|
|
|
|
|
end
|
2015-03-14 16:18:39 -04:00
|
|
|
|
|
|
|
|
function event_click_door(e)
|
|
|
|
|
local qglobals = eq.get_qglobals(e.self)
|
|
|
|
|
-- chair to click down to bertox event
|
|
|
|
|
if (e.door:GetDoorID() == 7) then
|
|
|
|
|
if(qglobals["pop_cod_preflag"] == "1" or e.self:GetGM()) then
|
2018-02-16 01:20:25 -06:00
|
|
|
e.self:MovePC(200, 0, -16, -289, 256)
|
2015-03-14 16:18:39 -04:00
|
|
|
else
|
|
|
|
|
--made up
|
2023-08-13 17:16:42 -04:00
|
|
|
e.self:Message(MT.Default, "There is still more work to be done.")
|
2015-03-14 16:18:39 -04:00
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
2017-05-13 13:41:55 -04:00
|
|
|
function event_loot(e)
|
|
|
|
|
if(e.self:Class() == "Magician" and e.item:GetID() == 19544 and e.corpse:GetNPCTypeID()==200060) then
|
|
|
|
|
local qglobals = eq.get_qglobals(e.self);
|
|
|
|
|
if(qglobals["mage_epic"] == "10") then
|
|
|
|
|
return 0;
|
|
|
|
|
else
|
|
|
|
|
return 1;
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
end
|
2015-03-14 16:18:39 -04:00
|
|
|
|