1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-07-02 00:02:13 +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
+2 -1
View File
@@ -36,8 +36,9 @@ script = ExtResource("2_8u5a0")
cooldownUnit = 500.0
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(4, 8), Vector2(2, 6)])
energy = 1000.0
[node name="hurt" parent="sounds" index="2"]
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_ojyt7")
[node name="texture" parent="." index="1"]