diff --git a/Role/Attack.cs b/Role/Attack.cs index 57c57c5..4da1481 100644 --- a/Role/Attack.cs +++ b/Role/Attack.cs @@ -359,7 +359,7 @@ private void GenerateBullet(float angle, Vector2 startPos, Vector2 changePos)// // 计算缩放因子,使得图片的直径与碰撞体的直径匹配 - characterClick.OrSizeX = role.AttackRange * 2f / characterClick.OrSizeX; // * 2f 因为 radius 是半径,图片的尺寸通常是直径 + characterClick.OrSizeX = role.AttackRange * 2f / characterClick.StartSizeX; // * 2f 因为 radius 是半径,图片的尺寸通常是直径