projecteq-projecteqquests/innothule/player.lua
hg d6ffce5971 Use dz system for sro ldon raids (gukc, guke, gukg)
Add unused sro ldon expedition request (gukc)

Use dz for sro ldon door in innothule

Use expedition system for lockouts
2020-12-28 18:48:52 -05:00

11 lines
313 B
Lua

local expeditions = { gukg = true, guke = true, gukc = true }
function event_click_door(e)
local door_id = e.door:GetDoorID();
if (door_id == 5) then
local dz = e.self:GetExpedition()
if dz.valid and expeditions[dz:GetZoneName()] then
e.self:MovePCDynamicZone(dz:GetZoneID())
end
end
end