Skip to content

Commit

Permalink
fix: 更为严苛的登船检查逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
dzpao committed Oct 11, 2024
1 parent 97c8e79 commit c0291f5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mud/pkuxkx/plugins/basic/map/helper.tin
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
};

Expand All @@ -211,7 +211,9 @@ VAR {地图脚本同步信息} map.sync.room-id {};
#return;
};

#if { &gGMCP[Move][出口信息] > 1 } {
#untick map.boat.yell;

#if { &gGMCP[Move][出口信息][] > 1 } {
errLog 登船失败,这是哪里?;
#return;
};
Expand All @@ -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;
};
Expand Down

0 comments on commit c0291f5

Please sign in to comment.