1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/NuclearBomb.tscn
T
fallingshrimp 4302055086 refactor(武器卡片): 重构武器卡片节点结构,将名称节点移至displays容器
统一将武器卡片的名称节点从container/info移动到container/info/displays容器中,提高代码组织性
同时清理了部分调试属性和冗余代码,更新了部分武器的来源信息
2026-04-04 09:03:58 +08:00

45 lines
1.4 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://b2qhes4apaxsj"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_k4t0h"]
[ext_resource type="Texture2D" uid="uid://cp57lmeohvo3o" path="res://resources/weapons/nuclear-bomb.png" id="2_5nh8i"]
[ext_resource type="Script" path="res://scripts/Contents/Weapons/NuclearBomb.gd" id="2_hscw2"]
[node name="NuclearBomb" instance=ExtResource("1_k4t0h")]
script = ExtResource("2_hscw2")
avatarTexture = ExtResource("2_5nh8i")
displayName = "核弹控制器"
quality = 4
typeTopic = 2
costBeachball = 600
store = {
"atk": 2000,
"radius": 750.0
}
storeType = {
"atk": 1,
"radius": 1
}
descriptionTemplate = "倒计时10秒后对半径$radius范围的实体造成$atk点[b]无差别伤害[/b]。"
needEnergy = 120.0
cooldown = 2000.0
debugRebuild = true
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_5nh8i")
[node name="name" parent="container/info/displays" index="0"]
displayName = "核弹控制器"
quality = 4
typeTopic = 2
typeTopicColorMap = {
0: Color(1, 1, 1, 1),
1: Color(0, 0.708754, 1, 1),
2: Color(1, 0.274813, 0, 1),
3: Color(0.707984, 0, 1, 1)
}
[node name="description" parent="container" index="2"]
text = "[center]倒计时10秒后对半径[color=cyan]750[/color]→[color=yellow]765[/color]范围的实体造成[color=cyan]2000[/color]→[color=yellow]2050[/color]点[b]无差别伤害[/b]。[/center]"