1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-01 08:51:53 +08:00

feat: 添加新的角色Hen,更新Chick角色的攻击逻辑,增强Boss状态条和子弹功能

This commit is contained in:
2025-08-26 14:47:12 +08:00
parent 5923660195
commit 51b3359e8d
11 changed files with 59 additions and 15 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ class_name EntityStateBar
@onready var healthBar: ColorBar = $"%health"
func _process(_delta):
if entity:
if is_instance_valid(entity):
healthBar.maxValue = entity.fields.get(FieldStore.Entity.MAX_HEALTH)
healthBar.setCurrent(entity.health)