1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-28 06:51:54 +08:00

refactor(武器系统): 调整武器数值显示格式和数据结构

统一武器数值显示格式,将浮点数显示为整数或保留两位小数。修改storeType从数组改为字典结构以提高可读性。调整部分武器参数平衡性,包括BigLaser的时间系数和LGBTWeapon的power增量。移除VectorStarWeapon的mincount升级逻辑。为所有武器组件添加debugRebuild标志和默认500点costBeachball值。在FieldShow.gd中新增INTEGER数据类型处理。更新武器描述模板中的数值格式化逻辑。
This commit is contained in:
2025-09-06 16:11:59 +08:00
parent 38390e7ded
commit 19e7d7691d
11 changed files with 59 additions and 28 deletions
+1 -2
View File
@@ -28,7 +28,6 @@ offset_right = 350.0
offset_bottom = 304.0
theme_override_styles/panel = SubResource("StyleBoxFlat_n2ewr")
script = ExtResource("1_g802t")
costBeachball = 100
metadata/_edit_lock_ = true
[node name="sounds" type="Node2D" parent="."]
@@ -112,7 +111,7 @@ displayName = "未命名饲料"
unique_name_in_owner = true
layout_mode = 2
bbcode_enabled = true
text = "[center]造成[color=cyan]10.0[/color]点伤害。[/center]"
text = "[center]造成[color=cyan]10.00[/color]点伤害。[/center]"
fit_content = true
[node name="costs" type="GridContainer" parent="container"]