1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-09 05:07:12 +08:00

加了后坐力然后优化了能量显示的逻辑,司马trae

This commit is contained in:
2025-08-28 21:57:04 +08:00
parent 77e6711358
commit 9015d2b723
7 changed files with 11 additions and 15 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ func _ready():
currentFocusedBoss = get_tree().get_nodes_in_group("players")[0]
applyLevel()
health = fields.get(FieldStore.Entity.MAX_HEALTH)
energy = fields.get(FieldStore.Entity.MAX_ENERGY) * 0.5
energy = fields.get(FieldStore.Entity.MAX_ENERGY)
healthChanged.connect(
func(newHealth):
if is_instance_valid(statebar):