mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
13 lines
No EOL
419 B
Lua
13 lines
No EOL
419 B
Lua
function event_loot(e)
|
|
if(e.self:Class() == "Druid" and e.item:GetID() == 62870) then
|
|
local qglobals = eq.get_qglobals(e.self);
|
|
if(qglobals["druid_epic"] == "10") then
|
|
if(qglobals["druid_epic_qin"] == nil ) then
|
|
eq.spawn2(893,0,0,e.self:GetX(),e.self:GetY(),e.self:GetZ(),e.self:GetHeading()); -- #a chest (Epic 2.0)
|
|
eq.set_global("druid_epic_qin","1",5,"F");
|
|
end
|
|
else
|
|
return 1;
|
|
end
|
|
end
|
|
end |