mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
6c7778309d
为武器系统添加数据类型支持,包括数值、百分比和角度显示格式 添加debugRebuild选项用于编辑器调试 移除调试用的print语句 更新LGBT武器的场景配置和描述显示
39 lines
1.4 KiB
Plaintext
39 lines
1.4 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://wl8u5m52708w"]
|
|
|
|
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_jwtmd"]
|
|
[ext_resource type="Script" path="res://scripts/Contents/Weapons/LGBTWeapon.gd" id="2_0tyah"]
|
|
[ext_resource type="Texture2D" uid="uid://cwfyi61xkt4bt" path="res://resources/weapons/lgbt.jpeg" id="2_ou6jo"]
|
|
|
|
[node name="LGBT" instance=ExtResource("1_jwtmd")]
|
|
offset_bottom = 346.0
|
|
script = ExtResource("2_0tyah")
|
|
avatarTexture = ExtResource("2_ou6jo")
|
|
displayName = "彩虹旗"
|
|
quality = 4
|
|
costs = Array[int]([0, 1])
|
|
costCounts = Array[int]([200, 100])
|
|
store = {
|
|
"atk": 20,
|
|
"count": 7.0,
|
|
"power": 0.3,
|
|
"trace": 2.0
|
|
}
|
|
storeType = Array[int]([0, 0, 1, 0])
|
|
descriptionTemplate = "发射$count条可追踪$trace秒,效率为$power的带状彩虹,每条造成$atk点伤害。"
|
|
needEnergy = 150.0
|
|
|
|
[node name="avatar" parent="container/info" index="0"]
|
|
texture = ExtResource("2_ou6jo")
|
|
|
|
[node name="energy" parent="container/info/energyInfo" index="1"]
|
|
text = "150.0"
|
|
|
|
[node name="name" parent="container/info" index="2"]
|
|
displayName = "彩虹旗"
|
|
quality = 4
|
|
|
|
[node name="description" parent="container" index="2"]
|
|
size_flags_vertical = 3
|
|
text = "[center]发射[color=cyan]7.0[/color]条可追踪[color=cyan]2.0[/color]秒,效率为[color=cyan]30.0%[/color]的带状彩虹,每条造成[color=cyan]20.0[/color]点伤害。[/center]"
|
|
autowrap_mode = 2
|