mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat: 添加能量属性到角色,更新攻击逻辑以消耗能量
This commit is contained in:
@@ -37,6 +37,7 @@ displayName = "小鸡"
|
||||
drops = Array[int]([0, 1])
|
||||
dropCounts = Array[Vector2]([Vector2(10, 20), Vector2(7, 14)])
|
||||
appleCount = Vector2i(2, 6)
|
||||
energy = 1000.0
|
||||
|
||||
[node name="hurt" parent="sounds" index="3"]
|
||||
stream = ExtResource("3_ik1xf")
|
||||
|
||||
@@ -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"]
|
||||
|
||||
@@ -38,6 +38,7 @@ radius = 41.0122
|
||||
[node name="Rooster" instance=ExtResource("1_e5pl8")]
|
||||
script = ExtResource("2_oqdqd")
|
||||
cooldownUnit = 200.0
|
||||
energy = 50.0
|
||||
|
||||
[node name="sprint" parent="sounds" index="0"]
|
||||
stream = ExtResource("4_66s6c")
|
||||
|
||||
Reference in New Issue
Block a user