From 0e1b1ac8b2414bb34963da0528b636ea0e610cf6 Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Sun, 22 Feb 2026 18:01:12 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E4=B8=AD=E6=A5=BC=E4=BC=A0=E6=8F=8F?= =?UTF-8?q?=E8=BF=B0=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/events.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/events.js b/libs/events.js index 98fbbf97..e5206d53 100644 --- a/libs/events.js +++ b/libs/events.js @@ -2810,7 +2810,10 @@ events.prototype.useFly = function (fromUserAction) { if (!this._checkStatus('fly', fromUserAction, true)) return; if (!core.maps.canUseFlyHere()) { core.playSound('操作失败'); - core.drawTip("只有在楼梯边才能使用" + core.material.items['fly'].name, 'fly'); + const failTip = core.flags.flyNearStair ? "只能在楼梯边使用" : ( + core.flags.flyAccessStair ? "只能在能直接走到楼梯边的地方使用" : "当前无法使用" + ); + core.drawTip(failTip + core.material.items['fly'].name, 'fly'); core.unlockControl(); core.status.event.data = null; core.status.event.id = null;