Files
wsmud/world/map/huashan/siguoya.js
2026-05-26 16:41:20 +08:00

25 lines
1.3 KiB
JavaScript
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
this.inherits(ROOM);
this.name = "思过崖"
this.desc = "这里便是华山派弟子受罚思过的地方。位于玉女峰顶,正好有一小快平地,一面是深不可测的山谷、一面是陡峭的<cmd cmd='look bi'>悬壁</cmd>,零零落落的有几快山石。";
this.exits = { "northdown": "huashan/xiaojing" };
this.set_item("bi", "峭壁", "你看着看着忽然发现有一处石壁上的青苔比别处少得多。不禁想....", [[
"break", "打碎", function (me, par) {
if (par != "bi") {
return;
}
if (this.query_exits("enter")) return me.notify("石壁已经被你打开了。");
if (me.max_mp > 1000 && me.mp > 1000) {
me.add_mp(-200);
me.send_room("$N走到石壁前深吸一口气双掌同时拍出。 \n$N只听一声轰响石壁被打开一个大洞");
this.add_exit("enter", "huashan/hole");
} else {
me.send_room("$N走到门前深吸一口气双掌同时拍出。 \n结果只听一声闷哼$P被石壁的反弹力震得眼前一黑....");
}
// this.call_out(x => {
// this.notify("石壁的石头掉了下来,把出口又给封死了...");
// this.remove_exit("enter");
// },10000);
return true;
}
]]);