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

fix(BossAttack/HeavyCrystal): 修复伤害计算逻辑并优化速度增长

调整伤害计算方式,改为基于速度动态计算伤害值
移除初始固定伤害值,避免与动态计算冲突
优化子弹速度增长逻辑
This commit is contained in:
2025-09-19 21:59:15 +08:00
parent 0ab740a00a
commit aeda27ef61
@@ -6,7 +6,6 @@ var readyTime: float = 1000
func register():
speed = 10
damage = 30
func ai():
if timeLived() < readyTime:
PresetBulletAI.lockLauncher(self, launcher, true)
@@ -16,4 +15,5 @@ func ai():
track.visible = false
hitbox.disabled = false
PresetBulletAI.forward(self, rotation)
damage = speed / 5
speed *= 1.15