mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-07-04 09:12:13 +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://dyanyf044boxp"]
|
||||
[gd_scene format=3 uid="uid://dyanyf044boxp"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_sqbqm"]
|
||||
[ext_resource type="Texture2D" uid="uid://7yeb0e4ahcee" path="res://resources/weapons/pipe.png" id="2_mmtf8"]
|
||||
[ext_resource type="Script" uid="uid://l1v3boq8ei12" path="res://scripts/Contents/Weapons/Pipe.gd" id="2_p67v7"]
|
||||
|
||||
[node name="Pipe" instance=ExtResource("1_sqbqm")]
|
||||
[node name="Pipe" unique_id=946948425 instance=ExtResource("1_sqbqm")]
|
||||
script = ExtResource("2_p67v7")
|
||||
avatarTexture = ExtResource("2_mmtf8")
|
||||
displayName = "钢管"
|
||||
@@ -14,20 +14,21 @@ store = {
|
||||
"atk": 5
|
||||
}
|
||||
descriptionTemplate = "按住蓄力扔出钢管,蓄力越久伤害越高,至少造成$atk点伤害,发射钢管后继续按住鼠标可进行连续发射。"
|
||||
sources = Array[String](["MEME"])
|
||||
needEnergy = 2.0
|
||||
cooldown = 3000.0
|
||||
|
||||
[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_mmtf8")
|
||||
|
||||
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
|
||||
[node name="energy" parent="container/info/infos/energyInfo" parent_id_path=PackedInt32Array(644675021) index="1" unique_id=1664028115]
|
||||
text = "2.0"
|
||||
|
||||
[node name="beachball" parent="container/info/infos" index="1"]
|
||||
[node name="beachball" parent="container/info/infos" parent_id_path=PackedInt32Array(492799150) index="1" unique_id=653442983]
|
||||
count = 350
|
||||
|
||||
[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 = "钢管"
|
||||
|
||||
[node name="description" parent="container" index="2"]
|
||||
[node name="description" parent="container" parent_id_path=PackedInt32Array(575698869) index="2" unique_id=566230682]
|
||||
text = "[center]按住蓄力扔出钢管,蓄力越久伤害越高,至少造成[color=cyan]5[/color]点伤害,发射钢管后继续按住鼠标可进行连续发射。[/center]"
|
||||
|
||||
Reference in New Issue
Block a user