mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-06-30 15:22:30 +08:00
fix(Volcano.gd): 硬编码动画播放速度替换原攻击速度计算
将原本根据攻击速度计算的动画缩放倍率改为固定0.75,简化子弹动画速度控制逻辑
This commit is contained in:
@@ -10,7 +10,7 @@ var dmg5: float = 0
|
|||||||
var splitAngle: float = 10
|
var splitAngle: float = 10
|
||||||
|
|
||||||
func spawn():
|
func spawn():
|
||||||
animator.speed_scale = launcher.fields[FieldStore.Entity.ATTACK_SPEED] * (1.0 - 0.1)
|
animator.speed_scale = 0.75
|
||||||
setupCuttable(0.2)
|
setupCuttable(0.2)
|
||||||
func ai():
|
func ai():
|
||||||
PresetBulletAI.lockLauncher(self , launcher, true)
|
PresetBulletAI.lockLauncher(self , launcher, true)
|
||||||
|
|||||||
Reference in New Issue
Block a user