feat: align travel ring menus and validate destinations against 203 maps

This commit is contained in:
shen
2026-10-17 16:40:54 -07:00
parent 0b828387aa
commit 9fbeaeb7a2
7 changed files with 2390 additions and 1884 deletions
+213 -139
View File
@@ -4,152 +4,226 @@ quest ring_warp begin
state start begin
function destinations()
return {
{name = "各国村庄", maps = {
{id = 1, name = "盛唐国一村", x = 469300, y = 964200, mode = "direct", note = ""},
{id = 3, name = "盛唐国二村", x = 363000, y = 875200, mode = "direct", note = ""},
{id = 21, name = "秦皇国一村", x = 55700, y = 157900, mode = "direct", note = ""},
{id = 23, name = "秦皇国二村", x = 137800, y = 234600, mode = "direct", note = ""},
{id = 41, name = "周武国一村", x = 969600, y = 278400, mode = "direct", note = ""},
{id = 43, name = "周武国二村", x = 877400, y = 253700, mode = "direct", note = ""},
}},
{name = "野外地图", maps = {
{id = 61, name = "舒寒山", x = 435200, y = 230400, mode = "direct", note = ""},
{id = 62, name = "导炎大地", x = 665600, y = 691200, mode = "direct", note = ""},
{id = 63, name = "影悲沙漠", x = 281600, y = 563200, mode = "direct", note = ""},
{id = 64, name = "升龙谷", x = 323500, y = 806900, mode = "direct", note = ""},
{id = 65, name = "鬼族寺院", x = 553700, y = 145000, mode = "direct", note = ""},
{id = 67, name = "幽灵森林", x = 290100, y = 5700, mode = "direct", note = ""},
{id = 68, name = "红森林", x = 1119600, y = 70000, mode = "direct", note = ""},
{id = 69, name = "巨人荒地", x = 1058800, y = 725800, mode = "direct", note = ""},
{id = 70, name = "蛇之领域", x = 827700, y = 763400, mode = "direct", note = ""},
{id = 301, name = "龙头海角", x = 1104800, y = 1788800, mode = "direct", note = ""},
{id = 302, name = "迷雾森林", x = 1225700, y = 1682000, mode = "direct", note = ""},
{id = 303, name = "黑沙海湾", x = 1087900, y = 1649800, mode = "direct", note = ""},
{id = 304, name = "雷鸣山脉", x = 1134100, y = 1655400, mode = "direct", note = ""},
}},
{name = "洞穴与副本", maps = {
{id = 5, name = "盛唐国猴洞", x = 775200, y = 447700, mode = "direct", note = ""},
{id = 25, name = "秦皇国猴洞", x = 852000, y = 447700, mode = "direct", note = ""},
{id = 45, name = "周武国猴洞", x = 928800, y = 447700, mode = "direct", note = ""},
{id = 66, name = "恶鬼塔", x = 590800, y = 110800, mode = "entrance", note = "将传送到恶鬼塔守卫附近,请与守卫交谈入场。"},
{id = 71, name = "蜘蛛洞二层", x = 92400, y = 525500, mode = "entrance", note = "将传送到蜘蛛洞守卫附近,二层仍需使用原有通行证。"},
{id = 72, name = "流放洞窟一层", x = 284200, y = 811100, mode = "entrance", note = "将传送到流放洞窟入口附近,仍需满足原有等级及血石条件。"},
{id = 73, name = "流放洞窟二层", x = 284200, y = 811100, mode = "entrance", note = "请先从入口进入流放洞窟,再通过洞内通道前往二层。"},
{id = 104, name = "蜘蛛洞一层", x = 60000, y = 496600, mode = "direct", note = ""},
{id = 107, name = "猴洞初级", x = 826400, y = 62800, mode = "direct", note = ""},
{id = 108, name = "猴洞中级", x = 135200, y = 652500, mode = "direct", note = ""},
{id = 109, name = "猴洞高级", x = 135200, y = 729300, mode = "direct", note = ""},
{id = 208, name = "蓝龙巢穴", x = 284200, y = 811100, mode = "entrance", note = "请先进入流放洞窟,再到二层的蓝龙入口办理入场。"},
{id = 216, name = "恶魔地下墓穴", x = 592400, y = 100600, mode = "entrance", note = "将传送到地下墓穴入口附近,请与入口守卫交谈。"},
{id = 217, name = "蜘蛛洞三层", x = 92400, y = 525500, mode = "entrance", note = "请先通过守卫进入二层,再从二层入口进入三层。"},
{id = 351, name = "火焰地牢", x = 614800, y = 707000, mode = "entrance", note = "将传送到火焰地牢入口附近,请按原有组队及入场流程进入。"},
}},
{name = "公会地图", maps = {
{id = 4, name = "盛唐国公会领地", x = 135400, y = 5500, mode = "direct", note = ""},
{id = 24, name = "秦皇国公会领地", x = 221900, y = 9200, mode = "direct", note = ""},
{id = 44, name = "周武国公会领地", x = 270900, y = 12700, mode = "direct", note = ""},
{id = 6, name = "盛唐国公会村庄", x = 230600, y = 231900, mode = "direct", note = ""},
{id = 26, name = "秦皇国公会村庄", x = 640200, y = 411100, mode = "direct", note = ""},
{id = 46, name = "周武国公会村庄", x = 281800, y = 846300, mode = "direct", note = ""},
}},
{name = "活动与战争", maps = {
{id = 81, name = "婚礼地图", x = 822300, y = 22000, mode = "event", note = "婚礼地图请通过婚礼管理员及婚礼邀请进入。"},
{id = 100, name = "野外活动地牢", x = 3215100, y = 7600, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 101, name = "资源活动地图", x = 3212800, y = 64000, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 112, name = "决斗场", x = 857400, y = 2400, mode = "event", note = "决斗场请通过决斗管理员报名或观战。"},
{id = 113, name = "知识竞赛场", x = 896500, y = 24600, mode = "event", note = "知识竞赛请在活动开放时通过活动管理员报名。"},
{id = 114, name = "圣地战场", x = 948100, y = 41500, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 118, name = "火焰圣地通道一", x = 1149100, y = 118500, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 119, name = "火焰圣地通道二", x = 1149100, y = 220900, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 120, name = "火焰圣地通道三", x = 1149100, y = 323300, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 121, name = "冰雪圣地", x = 1189300, y = 17900, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 122, name = "冰雪圣地通道一", x = 1200700, y = 168900, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 123, name = "冰雪圣地通道二", x = 1200700, y = 271300, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 124, name = "冰雪圣地通道三", x = 1200700, y = 373700, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 125, name = "沙漠圣地", x = 1270000, y = 56400, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 126, name = "沙漠圣地通道一", x = 1242400, y = 142100, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 127, name = "沙漠圣地通道二", x = 1242400, y = 244500, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 128, name = "沙漠圣地通道三", x = 1242400, y = 346900, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 181, name = "帝国战争一", x = 980000, y = 114400, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 182, name = "帝国战争二", x = 934400, y = 166400, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
{id = 183, name = "帝国战争三", x = 985600, y = 166400, mode = "event", note = "请在对应活动或战争开放时,通过原有报名及入场流程进入。"},
}},
{name = "测试地图", maps = {
{id = 103, name = "测试地图一", x = 45200, y = 83500, mode = "gm", note = "此地图仅供管理员测试,普通角色不能直接进入。"},
{id = 105, name = "测试地图二", x = 19200, y = 12800, mode = "gm", note = "此地图仅供管理员测试,普通角色不能直接进入。"},
{id = 110, name = "测试地图三", x = 44800, y = 12800, mode = "gm", note = "此地图仅供管理员测试,普通角色不能直接进入。"},
{id = 111, name = "测试地图四", x = 70400, y = 12800, mode = "gm", note = "此地图仅供管理员测试,普通角色不能直接进入。"},
{id = 200, name = "公会建设测试地图", x = 105200, y = 10000, mode = "gm", note = "此地图仅供管理员测试,普通角色不能直接进入。"},
}},
{name = "各国主城",
destinations = {
{name = "盛唐国一村", x = 469300, y = 964200},
{name = "盛唐国二村", x = 360800, y = 877600},
{name = "秦皇国一村", x = 55700, y = 157900},
{name = "秦皇国二村", x = 138500, y = 234900},
{name = "周武国一村", x = 969600, y = 278400},
{name = "周武国二村", x = 873100, y = 242600},
}},
{name = "升龙谷 (30-50级)",
destinations = {
{name = "升龙谷中心", x = 332800, y = 745700},
{name = "练级区 1", x = 278900, y = 792400},
{name = "练级区 2", x = 323500, y = 806900},
{name = "练级区 3", x = 388200, y = 742200},
}},
{name = "影悲沙漠 (30-50级)",
destinations = {
{name = "沙漠中心", x = 291800, y = 550000},
{name = "绿洲 1区", x = 250600, y = 544200},
{name = "绿洲 2区", x = 297800, y = 577700},
{name = "绿洲 3区", x = 270300, y = 604600},
}},
{name = "舒寒山 (40-65级)",
destinations = {
{name = "雪山中心", x = 434400, y = 214700},
{name = "练级区 1", x = 435300, y = 183000},
{name = "练级区 2", x = 496500, y = 263700},
}},
{name = "导炎大地 (40-65级)",
destinations = {
{name = "火地中心", x = 607400, y = 686800},
{name = "练级区 1", x = 703600, y = 631000},
{name = "练级区 2", x = 681000, y = 745700},
}},
{name = "蜘蛛洞穴 (45-70级)",
destinations = {
{name = "蜘蛛洞一层入口", x = 60000, y = 496300},
{name = "蜘蛛洞一层深处", x = 91800, y = 525400},
{name = "蜘蛛洞二层入口", x = 704100, y = 463900},
{name = "蜘蛛洞二层深处/三层入口", x = 704000, y = 522700},
}},
{name = "鬼怪森林 (65-75级)",
subgroups = {
{name = "幽灵森林", destinations = {
{name = "幽灵森林入口", x = 290800, y = 5700},
{name = "练级区 1", x = 308300, y = 42300},
{name = "练级区 2", x = 316100, y = 5100},
}},
{name = "红森林", destinations = {
{name = "红森林入口", x = 1116700, y = 69200},
{name = "练级区 1", x = 1115100, y = 53400},
{name = "练级区 2", x = 1061400, y = 25800},
}},
}},
{name = "巨人荒地 (55-80级)",
destinations = {
{name = "巨人领地 1区", x = 1119200, y = 791500},
{name = "蛇之领域 / 2区", x = 830500, y = 764000},
}},
{name = "流放洞窟 (75-95级)", min_level = 75,
destinations = {
{name = "流放洞窟一层入口", x = 10000, y = 1207800},
{name = "流放洞窟一层深处", x = 140300, y = 1323600},
{name = "流放洞窟二层入口", x = 241600, y = 1273700},
{name = "流放洞窟二层深处/龙穴门前", x = 222000, y = 1220800},
}},
{name = "尤哈拉海角 (90-105级)", min_level = 90,
subgroups = {
{name = "龙头海角", destinations = {
{name = "龙头海角入口", x = 1104800, y = 1788800},
{name = "练级区 1", x = 1049300, y = 1738200},
{name = "练级区 2", x = 1119100, y = 1731700},
}},
{name = "迷雾森林", destinations = {
{name = "迷雾森林入口", x = 1225700, y = 1682000},
{name = "练级区 1", x = 1246700, y = 1721600},
{name = "练级区 2", x = 1330600, y = 1741200},
}},
{name = "雷鸣山脉", destinations = {
{name = "雷鸣山脉入口", x = 1134100, y = 1655400},
{name = "练级区 1", x = 1167600, y = 1535800},
{name = "练级区 2", x = 1211800, y = 1636800},
}},
{name = "黑沙海湾", destinations = {
{name = "黑沙海湾入口", x = 1087900, y = 1649800},
{name = "练级区 1", x = 1068600, y = 1626800},
{name = "练级区 2", x = 1104400, y = 1557200},
}},
}},
{name = "附魔森林 (105-120级)", min_level = 105,
destinations = {
{name = "附魔森林入口", x = 816700, y = 1505000},
}},
}
end
when 10031.sig_use begin
local categories = ring_warp.destinations()
local category_options = {}
for i = 1, table.getn(categories) do
table.insert(category_options, categories[i].name)
when 10031.sig_use or 70058.use or 76042.use begin
if not pc.can_warp() then
say("当前状态无法传送,请结束交易、战斗或其他操作后再试。")
return
end
table.insert(category_options, "关闭")
while true do
say_title("移动戒指")
say("请选择地图分类:")
local category = select_table(category_options)
if category == table.getn(category_options) then return end
local maps = categories[category].maps
local page = 1
local browsing = true
while browsing do
local first = (page - 1) * 5 + 1
local last = math.min(first + 4, table.getn(maps))
local options = {}
for i = first, last do
local label = maps[i].name
if maps[i].mode == "entrance" then label = label .. "(入口)" end
table.insert(options, label)
local s = select(
"各国主城", "升龙谷 (30-50级)", "影悲沙漠 (30-50级)", "舒寒山 (40-65级)", "导炎大地 (40-65级)", "蜘蛛洞穴 (45-70级)", "鬼怪森林 (65-75级)", "巨人荒地 (55-80级)", "流放洞窟 (75-95级)", "尤哈拉海角 (90-105级)", "附魔森林 (105-120级)", "关闭"
)
if s == 1 then
local sub_1 = select("盛唐国一村", "盛唐国二村", "秦皇国一村", "秦皇国二村", "周武国一村", "周武国二村", "关闭")
if sub_1 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(469300, 964200) setskin(NOWINDOW)
elseif sub_1 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(360800, 877600) setskin(NOWINDOW)
elseif sub_1 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(55700, 157900) setskin(NOWINDOW)
elseif sub_1 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(138500, 234900) setskin(NOWINDOW)
elseif sub_1 == 5 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(969600, 278400) setskin(NOWINDOW)
elseif sub_1 == 6 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(873100, 242600) setskin(NOWINDOW)
end
elseif s == 2 then
local sub_2 = select("升龙谷中心", "练级区 1", "练级区 2", "练级区 3", "关闭")
if sub_2 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(332800, 745700) setskin(NOWINDOW)
elseif sub_2 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(278900, 792400) setskin(NOWINDOW)
elseif sub_2 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(323500, 806900) setskin(NOWINDOW)
elseif sub_2 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(388200, 742200) setskin(NOWINDOW)
end
elseif s == 3 then
local sub_3 = select("沙漠中心", "绿洲 1区", "绿洲 2区", "绿洲 3区", "关闭")
if sub_3 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(291800, 550000) setskin(NOWINDOW)
elseif sub_3 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(250600, 544200) setskin(NOWINDOW)
elseif sub_3 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(297800, 577700) setskin(NOWINDOW)
elseif sub_3 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(270300, 604600) setskin(NOWINDOW)
end
elseif s == 4 then
local sub_4 = select("雪山中心", "练级区 1", "练级区 2", "关闭")
if sub_4 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(434400, 214700) setskin(NOWINDOW)
elseif sub_4 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(435300, 183000) setskin(NOWINDOW)
elseif sub_4 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(496500, 263700) setskin(NOWINDOW)
end
elseif s == 5 then
local sub_5 = select("火地中心", "练级区 1", "练级区 2", "关闭")
if sub_5 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(607400, 686800) setskin(NOWINDOW)
elseif sub_5 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(703600, 631000) setskin(NOWINDOW)
elseif sub_5 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(681000, 745700) setskin(NOWINDOW)
end
elseif s == 6 then
local sub_6 = select("蜘蛛洞一层入口", "蜘蛛洞一层深处", "蜘蛛洞二层入口", "蜘蛛洞二层深处/三层入口", "关闭")
if sub_6 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(60000, 496300) setskin(NOWINDOW)
elseif sub_6 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(91800, 525400) setskin(NOWINDOW)
elseif sub_6 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(704100, 463900) setskin(NOWINDOW)
elseif sub_6 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(704000, 522700) setskin(NOWINDOW)
end
elseif s == 7 then
local sub_7 = select("幽灵森林", "红森林", "关闭")
if sub_7 == 1 then
local sub_7_1 = select("幽灵森林入口", "练级区 1", "练级区 2", "关闭")
if sub_7_1 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(290800, 5700) setskin(NOWINDOW)
elseif sub_7_1 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(308300, 42300) setskin(NOWINDOW)
elseif sub_7_1 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(316100, 5100) setskin(NOWINDOW)
end
local count = table.getn(options)
local previous = 0
local following = 0
if page > 1 then
table.insert(options, "上一页")
previous = table.getn(options)
elseif sub_7 == 2 then
local sub_7_2 = select("红森林入口", "练级区 1", "练级区 2", "关闭")
if sub_7_2 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1116700, 69200) setskin(NOWINDOW)
elseif sub_7_2 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1115100, 53400) setskin(NOWINDOW)
elseif sub_7_2 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1061400, 25800) setskin(NOWINDOW)
end
if last < table.getn(maps) then
table.insert(options, "下一页")
following = table.getn(options)
end
elseif s == 8 then
local sub_8 = select("巨人领地 1区", "蛇之领域 / 2区", "关闭")
if sub_8 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1119200, 791500) setskin(NOWINDOW)
elseif sub_8 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(830500, 764000) setskin(NOWINDOW)
end
elseif s == 9 then
if pc.get_level() < 75 then
say("")
say("需要达到 75 级才能进入流放洞窟!")
say("")
else
local sub_9 = select("流放洞窟一层入口", "流放洞窟一层深处", "流放洞窟二层入口", "流放洞窟二层深处/龙穴门前", "关闭")
if sub_9 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(10000, 1207800) setskin(NOWINDOW)
elseif sub_9 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(140300, 1323600) setskin(NOWINDOW)
elseif sub_9 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(241600, 1273700) setskin(NOWINDOW)
elseif sub_9 == 4 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(222000, 1220800) setskin(NOWINDOW)
end
table.insert(options, "返回分类")
say_title(categories[category].name)
say("第 " .. page .. " 页 / 共 " .. math.ceil(table.getn(maps) / 5) .. " 页")
local choice = select_table(options)
if choice == table.getn(options) then
browsing = false
elseif previous > 0 and choice == previous then
page = page - 1
elseif following > 0 and choice == following then
page = page + 1
elseif choice >= 1 and choice <= count then
local destination = maps[first + choice - 1]
say_title(destination.name)
say("地图编号:" .. destination.id)
if destination.mode == "gm" and not pc.is_gm() then
say(destination.note)
wait()
elseif destination.mode == "event" then
say(destination.note)
wait()
else
if destination.mode == "entrance" then say(destination.note) end
if destination.mode == "gm" then say("管理员专用测试地图。") end
if select("传送", "返回列表") == 1 then
if not pc.can_warp() then
say("当前无法传送,请结束交易或其他操作后再试。")
return
end
pc.warp(destination.x, destination.y)
return
end
end
elseif s == 10 then
if pc.get_level() < 90 then
say("")
say("需要达到 90 级才能进入尤哈拉海角区域!")
say("")
else
local sub_10 = select("龙头海角", "迷雾森林", "雷鸣山脉", "黑沙海湾", "关闭")
if sub_10 == 1 then
local sub_10_1 = select("龙头海角入口", "练级区 1", "练级区 2", "关闭")
if sub_10_1 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1104800, 1788800) setskin(NOWINDOW)
elseif sub_10_1 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1049300, 1738200) setskin(NOWINDOW)
elseif sub_10_1 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1119100, 1731700) setskin(NOWINDOW)
end
elseif sub_10 == 2 then
local sub_10_2 = select("迷雾森林入口", "练级区 1", "练级区 2", "关闭")
if sub_10_2 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1225700, 1682000) setskin(NOWINDOW)
elseif sub_10_2 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1246700, 1721600) setskin(NOWINDOW)
elseif sub_10_2 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1330600, 1741200) setskin(NOWINDOW)
end
elseif sub_10 == 3 then
local sub_10_3 = select("雷鸣山脉入口", "练级区 1", "练级区 2", "关闭")
if sub_10_3 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1134100, 1655400) setskin(NOWINDOW)
elseif sub_10_3 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1167600, 1535800) setskin(NOWINDOW)
elseif sub_10_3 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1211800, 1636800) setskin(NOWINDOW)
end
elseif sub_10 == 4 then
local sub_10_4 = select("黑沙海湾入口", "练级区 1", "练级区 2", "关闭")
if sub_10_4 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1087900, 1649800) setskin(NOWINDOW)
elseif sub_10_4 == 2 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1068600, 1626800) setskin(NOWINDOW)
elseif sub_10_4 == 3 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(1104400, 1557200) setskin(NOWINDOW)
end
end
end
elseif s == 11 then
if pc.get_level() < 105 then
say("")
say("需要达到 105 级才能进入附魔森林!")
say("")
else
local sub_11 = select("附魔森林入口", "关闭")
if sub_11 == 1 then if not pc.can_warp() then say("当前状态无法传送,请稍后重试。") return end pc.warp(816700, 1505000) setskin(NOWINDOW)
end
end
end