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

feat: 添加能量属性到角色,更新攻击逻辑以消耗能量

This commit is contained in:
2025-08-27 12:46:20 +08:00
parent 23bc9b3e20
commit f764f0b3c9
9 changed files with 28 additions and 18 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ static var countBoost: float = 0.1 # 每波增加的敌人数量百分比,指
static var data: Array[Wave] = [
# entity, minCount, maxCount, isBoss, from, to, per
create(preload("res://components/Characters/Hen.tscn"), 1, 5, false, 0, INF, 1),
create(preload("res://components/Characters/Chick.tscn"), 0, 0, true, 0, INF, 1)
create(preload("res://components/Characters/Chick.tscn"), 0, 0, true, 8, INF, 1)
]
static func create(