From 4ff690f6f8092cf2e2a88a07553c0d9b2219591d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=A8=E8=90=BD=E5=9F=BA=E5=9B=B4=E8=99=BE?= <3161880837@qq.com> Date: Sun, 7 Dec 2025 16:09:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A7=92=E8=89=B2):=20=E4=B8=BA=E5=8A=A8?= =?UTF-8?q?=E7=89=A9=E8=A7=92=E8=89=B2=E6=B7=BB=E5=8A=A0=E6=8E=89=E8=90=BD?= =?UTF-8?q?=E7=89=A9=E5=93=81=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 为猫、狗和母鸡角色添加或修改掉落物品的配置,包括物品ID和掉落数量范围 --- components/Characters/Cat.tscn | 2 ++ components/Characters/Dog.tscn | 2 ++ components/Characters/Hen.tscn | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/components/Characters/Cat.tscn b/components/Characters/Cat.tscn index d678dac..4949d2e 100644 --- a/components/Characters/Cat.tscn +++ b/components/Characters/Cat.tscn @@ -37,6 +37,8 @@ radius = 19.026299 [node name="Cat" instance=ExtResource("1_hw4g4")] script = ExtResource("2_uo67a") displayName = "猫" +drops = Array[int]([0]) +dropCounts = Array[Vector2]([Vector2(8, 16)]) hurtAudioRate = 0.1 [node name="hurt" parent="sounds" index="3"] diff --git a/components/Characters/Dog.tscn b/components/Characters/Dog.tscn index b0d1521..791acc0 100644 --- a/components/Characters/Dog.tscn +++ b/components/Characters/Dog.tscn @@ -38,6 +38,8 @@ radius = 27.018513 [node name="Dog" instance=ExtResource("1_cbgnh")] script = ExtResource("2_pb36u") displayName = "哈士奇" +drops = Array[int]([3]) +dropCounts = Array[Vector2]([Vector2(1, 3)]) hurtAudioRate = 0.1 [node name="hurt" parent="sounds" index="3"] diff --git a/components/Characters/Hen.tscn b/components/Characters/Hen.tscn index 278a079..c902058 100644 --- a/components/Characters/Hen.tscn +++ b/components/Characters/Hen.tscn @@ -27,8 +27,8 @@ radius = 19.026299 [node name="Hen" instance=ExtResource("1_twxai")] script = ExtResource("2_8u5a0") displayName = "母鸡" -drops = Array[int]([0, 1]) -dropCounts = Array[Vector2]([Vector2(6, 12), Vector2(4, 8)]) +drops = Array[int]([1]) +dropCounts = Array[Vector2]([Vector2(4, 8)]) hurtAudioRate = 0.1 [node name="hurt" parent="sounds" index="3"]