From 72fe6d3580178f6e764532a9fbbc77976581427d Mon Sep 17 00:00:00 2001 From: walkpan Date: Sun, 15 Mar 2026 19:41:38 +0800 Subject: [PATCH] =?UTF-8?q?fix(hero):=20=E8=B0=83=E6=95=B4=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=B3=BB=E7=BB=9Fy=E8=BD=B4=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E5=81=8F=E7=A7=BB=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将LINE2和LINE3的偏移量从15调整为30,并移除LINE4的配置,使英雄移动路径更符合设计需求 --- assets/script/game/hero/MoveComp.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/script/game/hero/MoveComp.ts b/assets/script/game/hero/MoveComp.ts index e45af06d..c0479d6c 100644 --- a/assets/script/game/hero/MoveComp.ts +++ b/assets/script/game/hero/MoveComp.ts @@ -38,9 +38,9 @@ interface MoveFacConfig { export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate { private readonly ySlots = [ { offset: 0, lineName: "LINE1" }, - { offset: 15, lineName: "LINE2" }, - { offset: -15, lineName: "LINE3" }, - { offset: 30, lineName: "LINE4" }, + { offset: 30, lineName: "LINE2" }, + { offset: -30, lineName: "LINE3" }, + // { offset: 30, lineName: "LINE4" }, ]; private readonly samePointXThreshold = 12; private readonly samePointYThreshold = 3;