mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 23:11:54 +08:00
d0e3564933
重构武器卡片的信息显示逻辑,使用ItemShow组件替代原有Label显示 添加武器升级和镶嵌前的预览功能 为武器描述添加升级前后数值对比显示 新增FREQUENCY数据类型支持 统一子弹生命周期参数为lifeTime
45 lines
1.4 KiB
Plaintext
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" index="2"]
|
|
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]"
|