From a9884cf020ff814e7ad91c5d118c84d611bd0b68 Mon Sep 17 00:00:00 2001 From: walkpan Date: Sat, 3 Jan 2026 00:03:51 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=A7=BB=E9=99=A4=E6=96=BD=E6=B3=95?= =?UTF-8?q?=E8=B5=B7=E5=A7=8B=E4=BD=8D=E7=BD=AE=E7=9A=84Y=E8=BD=B4?= =?UTF-8?q?=E5=81=8F=E7=A7=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 施法起始位置的Y轴偏移30是多余的,直接使用施法者位置即可 --- assets/script/game/hero/SACastSystem.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/script/game/hero/SACastSystem.ts b/assets/script/game/hero/SACastSystem.ts index 8306aa10..453c31c5 100644 --- a/assets/script/game/hero/SACastSystem.ts +++ b/assets/script/game/hero/SACastSystem.ts @@ -253,7 +253,6 @@ export class SACastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdat // 获取施法者位置作为起始位置 const startPos = caster.node.position.clone(); - startPos.y += 30; const targetPos = targets[0]; // 使用第一个目标位置 // console.log(`[SACastSystem]: ${s_uuid}, 起始位置: ${startPos}, 目标位置: ${targetPos}`);