From 3bafc4cbaae4d22a184f3cc6c5e502c2f1778a21 Mon Sep 17 00:00:00 2001 From: Joywayer Date: Fri, 12 Jun 2026 02:40:00 +0800 Subject: [PATCH] =?UTF-8?q?fix(combat):=20=E4=B8=8B=E5=8A=88=E5=8E=BB?= =?UTF-8?q?=E9=99=A4=E5=90=91=E4=B8=8B=E4=BF=AF=E5=86=B2=E4=BD=8D=E7=A7=BB?= =?UTF-8?q?=EF=BC=8C=E5=9B=9E=E5=BD=92=E7=BA=AF=E5=90=91=E4=B8=8B=E6=94=BB?= =?UTF-8?q?=E5=87=BB+=E5=91=BD=E4=B8=AD=E5=BC=B9=E8=B7=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 下劈原在 OnStateEnter 强加 -18 向下速度,使手感变成下冲/俯冲。 删除该俯冲位移,角色保持自然下落、纯向下挥击;命中弹跳与 重置空中跳跃/冲刺次数逻辑(OnDownHitConfirmed)保持不变。 Co-Authored-By: Claude Opus 4.8 (1M context) --- Assets/_Game/Scripts/Player/States/DownAttackState.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Assets/_Game/Scripts/Player/States/DownAttackState.cs b/Assets/_Game/Scripts/Player/States/DownAttackState.cs index 7dbc4a0..3754a61 100644 --- a/Assets/_Game/Scripts/Player/States/DownAttackState.cs +++ b/Assets/_Game/Scripts/Player/States/DownAttackState.cs @@ -42,9 +42,8 @@ namespace BaseGames.Player.States OnClipEnd(); } - // 施加向下的速度(下劈冲击) - if (Move?.Rb != null) - Move.Rb.velocity = new Vector2(Move.Rb.velocity.x, -18f); + // 下劈为纯向下攻击:保持角色原有的自然下落,不额外施加向下俯冲位移 + // (俯冲位移会让下劈手感变成下冲,命中弹跳逻辑见 OnDownHitConfirmed) } public override void OnStateExit()