mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-11 12:32:54 +08:00
fix(BossAttack/HeavyCrystal): 修复伤害计算逻辑并优化速度增长
调整伤害计算方式,改为基于速度动态计算伤害值 移除初始固定伤害值,避免与动态计算冲突 优化子弹速度增长逻辑
This commit is contained in:
@@ -6,7 +6,6 @@ var readyTime: float = 1000
|
|||||||
|
|
||||||
func register():
|
func register():
|
||||||
speed = 10
|
speed = 10
|
||||||
damage = 30
|
|
||||||
func ai():
|
func ai():
|
||||||
if timeLived() < readyTime:
|
if timeLived() < readyTime:
|
||||||
PresetBulletAI.lockLauncher(self, launcher, true)
|
PresetBulletAI.lockLauncher(self, launcher, true)
|
||||||
@@ -16,4 +15,5 @@ func ai():
|
|||||||
track.visible = false
|
track.visible = false
|
||||||
hitbox.disabled = false
|
hitbox.disabled = false
|
||||||
PresetBulletAI.forward(self, rotation)
|
PresetBulletAI.forward(self, rotation)
|
||||||
|
damage = speed / 5
|
||||||
speed *= 1.15
|
speed *= 1.15
|
||||||
|
|||||||
Reference in New Issue
Block a user