mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-27 22:41:56 +08:00
7a0cf96d7d
实现武器升华功能,包括: - 新增SublimateOption类处理升华选项 - 添加SublimateOptionHandler UI组件 - 在武器卡片中集成升华界面 - 重构武器描述生成逻辑 - 新增钻石资源消耗机制 - 优化UI布局和样式 - 修复多处类型引用错误
94 lines
2.8 KiB
Plaintext
94 lines
2.8 KiB
Plaintext
[gd_scene 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"]
|
|
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_x576j"]
|
|
animations = [{
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_bxbcp"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_1s5d7")
|
|
}],
|
|
"loop": true,
|
|
"name": &"idle",
|
|
"speed": 5.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_1s5d7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_xjfsq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("5_rfpp4")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("6_kcxk2")
|
|
}],
|
|
"loop": true,
|
|
"name": &"walk",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_farlp"]
|
|
size = Vector2(148, 194)
|
|
|
|
[node name="KukeMC" instance=ExtResource("1_r4q7y")]
|
|
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
|
|
|
|
[node name="texture" parent="." index="3"]
|
|
sprite_frames = SubResource("SpriteFrames_x576j")
|
|
|
|
[node name="staticBackground" parent="texture" index="0"]
|
|
position = Vector2(0, -19.999998)
|
|
scale = Vector2(0.61562973, 0.61562973)
|
|
|
|
[node name="staticAnimation" parent="texture" index="1"]
|
|
position = Vector2(0, -49)
|
|
scale = Vector2(1.507288, 1.507288)
|
|
sprite_frames = SubResource("SpriteFrames_bxbcp")
|
|
animation = &"walk"
|
|
|
|
[node name="hitbox" parent="texture/hurtbox" index="0"]
|
|
position = Vector2(0, -49)
|
|
shape = SubResource("RectangleShape2D_farlp")
|
|
|
|
[node name="normal" type="Node2D" parent="texture/weapons" index="0"]
|
|
position = Vector2(29, -38)
|
|
|
|
[node name="statebar" parent="." index="4"]
|
|
position = Vector2(0, -217)
|