mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
9 lines
374 B
Lua
9 lines
374 B
Lua
function event_enter_zone(e)
|
|
local qglobals = eq.get_qglobals(e.self);
|
|
local el = eq.get_entity_list();
|
|
|
|
if(qglobals["ranger_epic"] == "2" and qglobals["ranger_epic_deep"] == nil and not el:IsMobSpawnedByNpcTypeID(164123)) then
|
|
eq.unique_spawn(164123,0,0,346,-856,-60.5,0); -- NPC: ancient_thought_horror_trap
|
|
eq.set_global("ranger_epic_deep","1",2,"H2");
|
|
end
|
|
end
|