1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-31 00:11:54 +08:00
Files
Dog-Lynx-And-HCN/components/Weapons/VectorStar.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

43 lines
1.5 KiB
Plaintext

[gd_scene load_steps=4 format=3 uid="uid://bb1uh8k7gkhr7"]
[ext_resource type="PackedScene" uid="uid://ckq2cq6m23hq3" path="res://components/Abstracts/WeaponCardBase.tscn" id="1_tmgup"]
[ext_resource type="Script" path="res://scripts/Contents/Weapons/VectorStarWeapon.gd" id="2_1dfg4"]
[ext_resource type="Texture2D" uid="uid://d2pndtow16635" path="res://resources/bullets/lgbt-bullet/造型2.svg" id="3_wfty8"]
[node name="VectorStar" instance=ExtResource("1_tmgup")]
script = ExtResource("2_1dfg4")
avatarTexture = ExtResource("3_wfty8")
displayName = "星辰核心"
quality = 2
store = {
"atk": 5,
"forwardtime": 1,
"maxcount": 6,
"mincount": 3
}
storeType = {
"atk": 1,
"forwardtime": 0.0,
"maxcount": 1.0,
"mincount": 1.0
}
descriptionTemplate = "发射$mincount~$maxcount个[b]无主[/b]的矢量星,在$forwardtime秒后向目标冲刺并造成$atk点伤害。"
needEnergy = 20.0
debugRebuild = true
[node name="avatar" parent="container/info" index="0"]
texture = ExtResource("3_wfty8")
[node name="energy" parent="container/info/infos/energyInfo" index="1"]
text = "20.0"
[node name="beachball" parent="container/info/infos/beachballInfo" index="1"]
text = "500"
[node name="name" parent="container/info" index="2"]
displayName = "星辰核心"
quality = 2
[node name="description" parent="container" index="2"]
text = "[center]发射[color=cyan]3[/color]~[color=cyan]6[/color]个[b]无主[/b]的矢量星,在[color=cyan]1.00[/color]秒后向目标冲刺并造成[color=cyan]5[/color]点伤害。[/center]"