1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/LGBT.tscn
T
fallingshrimp 19e7d7691d refactor(武器系统): 调整武器数值显示格式和数据结构
统一武器数值显示格式,将浮点数显示为整数或保留两位小数。修改storeType从数组改为字典结构以提高可读性。调整部分武器参数平衡性,包括BigLaser的时间系数和LGBTWeapon的power增量。移除VectorStarWeapon的mincount升级逻辑。为所有武器组件添加debugRebuild标志和默认500点costBeachball值。在FieldShow.gd中新增INTEGER数据类型处理。更新武器描述模板中的数值格式化逻辑。
2025-09-06 16:11:59 +08:00

58 lines
1.9 KiB
Plaintext

[gd_scene load_steps=5 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"]
[ext_resource type="AudioStream" uid="uid://bgo8p1l77xrbe" path="res://resources/sounds/effect/Magic Spell.wav" id="4_c5xse"]
[node name="LGBT" instance=ExtResource("1_jwtmd")]
offset_bottom = 346.0
script = ExtResource("2_0tyah")
avatarTexture = ExtResource("2_ou6jo")
displayName = "彩虹旗"
quality = 4
store = {
"angle": 30.0,
"atk": 20.0,
"count": 7.0,
"power": 0.15,
"trace": 2.0
}
storeType = {
"angle": 3.0,
"atk": 1,
"count": 1.0,
"power": 2.0,
"trace": 0.0
}
descriptionTemplate = "发射$count条,每条间分隔$angle,可追踪$trace秒,效率为$power的带状彩虹,每条造成$atk点伤害。"
needEnergy = 50.0
cooldown = 500.0
debugRebuild = true
[node name="attack" parent="sounds" index="0"]
stream = ExtResource("4_c5xse")
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("2_ou6jo")
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
text = "50.0"
[node name="beachball" parent="container/info/infos/beachballInfo" index="1"]
text = "500"
[node name="name" parent="container/info" index="2"]
displayName = "彩虹旗"
quality = 4
typeTopicNameMap = {
0: "冲击",
1: "能量",
2: "熔融"
}
[node name="description" parent="container" index="2"]
size_flags_vertical = 3
text = "[center]发射[color=cyan]7[/color]条,每条间分隔[color=cyan]30.0°[/color],可追踪[color=cyan]2.00[/color]秒,效率为[color=cyan]15%[/color]的带状彩虹,每条造成[color=cyan]20[/color]点伤害。[/center]"
autowrap_mode = 2