mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix(Bullets): 调整WhiteSoul子弹速度增长率和添加生命周期
将速度增长率从1.1降低至1.05以平衡游戏难度 为WhiteSoul子弹添加lifeTime属性防止内存泄漏
This commit is contained in:
@@ -3,6 +3,6 @@ extends BulletBase
|
||||
func register():
|
||||
speed = 1
|
||||
func ai():
|
||||
speed *= 1.1
|
||||
speed *= 1.05
|
||||
damage = speed
|
||||
PresetBulletAI.forward(self, rotation)
|
||||
|
||||
Reference in New Issue
Block a user