From c0291f5c968bf5333bf5383657abf742cc01de0c Mon Sep 17 00:00:00 2001 From: dzp Date: Fri, 11 Oct 2024 21:54:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E4=B8=BA=E4=B8=A5=E8=8B=9B?= =?UTF-8?q?=E7=9A=84=E7=99=BB=E8=88=B9=E6=A3=80=E6=9F=A5=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mud/pkuxkx/plugins/basic/map/helper.tin | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mud/pkuxkx/plugins/basic/map/helper.tin b/mud/pkuxkx/plugins/basic/map/helper.tin index ee6dd0cc..eb1ed16c 100644 --- a/mud/pkuxkx/plugins/basic/map/helper.tin +++ b/mud/pkuxkx/plugins/basic/map/helper.tin @@ -199,8 +199,8 @@ VAR {地图脚本同步信息} map.sync.room-id {}; #alias {map.boat.try-enter} { #if { "$map-Boat-state" == "waitBoat" } { - go enter; event.HandleOnce {GMCP.Move} {map.boat} {map} {map.boat.check}; + go enter; }; }; @@ -211,7 +211,9 @@ VAR {地图脚本同步信息} map.sync.room-id {}; #return; }; - #if { &gGMCP[Move][出口信息] > 1 } { + #untick map.boat.yell; + + #if { &gGMCP[Move][出口信息][] > 1 } { errLog 登船失败,这是哪里?; #return; }; @@ -221,7 +223,6 @@ VAR {地图脚本同步信息} map.sync.room-id {}; #return; }; - #untick map.boat.yell; #var map-Boat-state {inBoat}; event.Emit map/walk/boat/in; };