mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-11 12:32:54 +08:00
refactor(武器卡片): 重构武器卡片节点结构,将名称节点移至displays容器
统一将武器卡片的名称节点从container/info移动到container/info/displays容器中,提高代码组织性 同时清理了部分调试属性和冗余代码,更新了部分武器的来源信息
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
[gd_scene load_steps=4 format=3 uid="uid://blwoev5sencdh"]
|
||||
[gd_scene format=3 uid="uid://blwoev5sencdh"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_0udcw"]
|
||||
[ext_resource type="Script" uid="uid://cbg3xkg1giv35" path="res://scripts/Contents/Weapons/Gobo.gd" id="2_7yxbe"]
|
||||
[ext_resource type="Texture2D" uid="uid://xen2edbhf052" path="res://resources/characters/gobo/gobo-a.svg" id="2_tw58e"]
|
||||
|
||||
[node name="Gobo" instance=ExtResource("1_0udcw")]
|
||||
[node name="Gobo" unique_id=129053016 instance=ExtResource("1_0udcw")]
|
||||
script = ExtResource("2_7yxbe")
|
||||
avatarTexture = ExtResource("2_tw58e")
|
||||
displayName = "Gobo"
|
||||
@@ -23,16 +23,16 @@ storeType = {
|
||||
"percent": 2
|
||||
}
|
||||
descriptionTemplate = "召唤[b]Gobo[/b],Gobo会自主行动,每受到$atk点伤害后会生产$count颗[b]苹果[/b]。Gobo初始拥有$health点生命值。"
|
||||
sources = Array[String](["Scratch"])
|
||||
cooldown = 1000.0
|
||||
debugRebuild = true
|
||||
|
||||
[node name="avatar" parent="container/info" index="0"]
|
||||
[node name="avatar" parent="container/info" parent_id_path=PackedInt32Array(1625294072) index="0" unique_id=1021985889]
|
||||
texture = ExtResource("2_tw58e")
|
||||
|
||||
[node name="name" parent="container/info" index="2"]
|
||||
[node name="name" parent="container/info/displays" parent_id_path=PackedInt32Array(784441328) index="0" unique_id=1576068972]
|
||||
displayName = "Gobo"
|
||||
quality = 4
|
||||
typeTopic = 4
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
|
||||
text = "[center]召唤[b]Gobo[/b],Gobo会自主行动,每受到[color=cyan]100[/color]点伤害后会生产[color=cyan]1[/color]颗[b]苹果[/b]。Gobo初始拥有[color=cyan]200[/color]点生命值。[/center]"
|
||||
|
||||
Reference in New Issue
Block a user