projecteq-projecteqquests/everfrost/player.lua
hg 48f1749c5f Use dz for everfrost ldon raids (mirb, mirc, mirg)
Add unused mirc and mirg ldon request dialogue

Use dz for everfrost ldon raid doorway
2020-12-28 18:48:50 -05:00

11 lines
310 B
Lua

local expeditions = { mirb = true, mirc = true, mirg = true }
function event_click_door(e)
local door_id = e.door:GetDoorID()
if door_id == 3 then
local dz = e.self:GetExpedition()
if dz.valid and expeditions[dz:GetZoneName()] then
e.self:MovePCDynamicZone(dz:GetZoneID())
end
end
end