mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
fix: 调整SevenSoul子弹的能量存储和生命恢复逻辑
移除生成时的固定生命恢复效果,并将能量存储系数从0.25降低到0.1,以平衡游戏性
This commit is contained in:
@@ -21,12 +21,11 @@ func register():
|
||||
var bullet = BulletTool.fromArea(area)
|
||||
if bullet and BulletTool.canDamage(bullet, launcher):
|
||||
launcher.tryHeal(1)
|
||||
launcher.storeEnergy(damage * 0.25)
|
||||
launcher.storeEnergy(damage * 0.1)
|
||||
)
|
||||
func spawn():
|
||||
modulate = Color(colors[index % colors.size()])
|
||||
effect.emitting = true
|
||||
launcher.tryHeal(5)
|
||||
|
||||
func ai():
|
||||
rotation_degrees = 360.0 / colors.size() * index + timeLived() / generationDuration * 360 - index / 6.0 * 360.0
|
||||
|
||||
Reference in New Issue
Block a user