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