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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user