1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-08 04:37:13 +08:00

feat(角色): 为熊谷凌和酷可mc添加苹果掉落数量配置

为熊谷凌角色添加appleCount属性,设置掉落4-8个苹果
为酷可mc角色添加appleCount属性,设置掉落3-6个苹果,并调整武器位置和添加受伤音效
This commit is contained in:
2026-01-24 08:47:26 +08:00
parent 418ebf73e5
commit 17dc9b0a30
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -174,6 +174,7 @@ script = ExtResource("2_kh2af")
displayName = "熊谷凌"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(50, 100), Vector2(70, 140)])
appleCount = Vector2i(4, 8)
metadata/_edit_vertical_guides_ = [-50.0]
[node name="attack1" type="AudioStreamPlayer2D" parent="sounds" index="6"]
+8 -2
View File
@@ -1,8 +1,9 @@
[gd_scene load_steps=10 format=3 uid="uid://d4lfjwy0hkidu"]
[gd_scene load_steps=11 format=3 uid="uid://d4lfjwy0hkidu"]
[ext_resource type="PackedScene" uid="uid://cvogxi7mktumf" path="res://components/Abstracts/EntityBase.tscn" id="1_r4q7y"]
[ext_resource type="Script" uid="uid://cekuqnfohprpb" path="res://scripts/Contents/Characters/KukeMC.gd" id="2_s2dg5"]
[ext_resource type="Texture2D" uid="uid://mnockp3ai4ju" path="res://resources/characters/kukemc/pico-a.svg" id="3_1s5d7"]
[ext_resource type="AudioStream" uid="uid://23ttwefh4ej2" path="res://resources/sounds/effect/arrowshot.mp3" id="3_xjfsq"]
[ext_resource type="Texture2D" uid="uid://fsiyiwek5awa" path="res://resources/characters/kukemc/pico-b.svg" id="4_xjfsq"]
[ext_resource type="Texture2D" uid="uid://dem14qyqmrp52" path="res://resources/characters/kukemc/pico-c.svg" id="5_rfpp4"]
[ext_resource type="Texture2D" uid="uid://cvig26vtcyqmd" path="res://resources/characters/kukemc/pico-d.svg" id="6_kcxk2"]
@@ -56,9 +57,14 @@ script = ExtResource("2_s2dg5")
displayName = "酷可mc"
drops = Array[int]([0, 1])
dropCounts = Array[Vector2]([Vector2(20, 40), Vector2(25, 50)])
appleCount = Vector2i(3, 6)
useStatic = true
hurtAudioRate = 0.1
metadata/_edit_vertical_guides_ = [76.0]
[node name="hurt" parent="sounds" index="3"]
stream = ExtResource("3_xjfsq")
[node name="collect" parent="sounds" index="4"]
stream = null
@@ -80,7 +86,7 @@ position = Vector2(0, -49)
shape = SubResource("RectangleShape2D_farlp")
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
position = Vector2(-22, 18)
position = Vector2(29, -38)
[node name="statebar" parent="." index="4"]
position = Vector2(0, -217)