1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-05 19:27:15 +08:00

refactor(bullet): 修复子弹切割时的速度缩放逻辑

1. 修正Volcano子弹动画速度计算改为直接修改animator.speed_scale
2. 调整Volcano子弹发射速度倍率从0.9倍改为原0.75倍
3. 优化Volcano子弹粒子发射速度从300改为150
4. 调整MuyangDog的fieldValues并添加点击重建属性
5. 修复Volcano动画轨迹的多余关键帧与modulate显示逻辑
This commit is contained in:
2026-05-12 06:46:33 +08:00
parent 68259981f4
commit 4026caf0de
4 changed files with 35 additions and 10 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ var dmg5: float = 0
var splitAngle: float = 10
func spawn():
animator.speed_scale = launcher.fields[FieldStore.Entity.ATTACK_SPEED] * 0.75
animator.speed_scale = launcher.fields[FieldStore.Entity.ATTACK_SPEED] * (1.0 - 0.1)
setupCuttable(0.2)
func ai():
PresetBulletAI.lockLauncher(self , launcher, true)