1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

fix: 调整子弹飞行距离和速度参数

将VectorStar子弹的lifeDistance从3000减少到2000,并调整速度计算中的分母从20改为30,以平衡游戏难度
This commit is contained in:
2025-09-06 17:01:27 +08:00
parent 78e2cfbc03
commit b657f83aaf
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ alpha_curve = SubResource("CurveTexture_c22if")
[node name="VectorStar" instance=ExtResource("1_fyvdf")]
script = ExtResource("2_1u5ed")
lifeDistance = 3000.0
lifeDistance = 2000.0
[node name="texture" parent="." index="0"]
rotation = 0.0174533
+1 -1
View File
@@ -11,7 +11,7 @@ func ai():
if timeLived() <= forwardTime:
speed = 10 * ((forwardTime - timeLived()) / forwardTime)
elif forwarded:
speed = (timeLived() - forwardTime) / 20
speed = (timeLived() - forwardTime) / 30
else:
forwarded = true
if is_instance_valid(tracer):