From a2150990c3865fad55ebfbcbcbeba194b690d68c Mon Sep 17 00:00:00 2001 From: unanmed <1319491857@qq.com> Date: Fri, 22 Nov 2024 20:52:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=94=B5=E6=91=87=E5=98=B2=E8=AE=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/data/tips.json | 2 +- src/game/state/move.ts | 2 +- src/plugin/game/fallback.ts | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/data/tips.json b/src/data/tips.json index 2aac0c8..41ef123 100644 --- a/src/data/tips.json +++ b/src/data/tips.json @@ -20,7 +20,7 @@ "按H查看本游戏的百科全书", "给别人炫耀一下自己的成就点吧!虽然不能记榜(", "抱团属性会在怪物右上角显示加成数量!", - "乾坤挪移属性绘制怪物左上角显示“乾”字!", + "乾坤挪移属性会在怪物左上角显示“乾”字!", "电脑端可以试试按F11全屏游玩!", "手机端要不试试横屏玩?", "不在楼梯边也可以使用楼传!", diff --git a/src/game/state/move.ts b/src/game/state/move.ts index cfaba21..bc58e03 100644 --- a/src/game/state/move.ts +++ b/src/game/state/move.ts @@ -541,7 +541,7 @@ export class HeroMover extends ObjectMoverBase { } if (!this.ignoreTerrain || !this.noRoute) { - this.moveDir = showDir; + this.moveDir = dir4Move; } // 检查传送门 diff --git a/src/plugin/game/fallback.ts b/src/plugin/game/fallback.ts index de67c55..41ac77a 100644 --- a/src/plugin/game/fallback.ts +++ b/src/plugin/game/fallback.ts @@ -71,7 +71,8 @@ export function init() { } function setHeroDirection(dir: Dir) { - if (!heroMover.moving) heroMover.moveDir = dir; + heroMover.setFaceDir(dir); + heroMover.setMoveDir(dir); } /**