mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-28 06:51:54 +08:00
feat(武器系统): 调整武器升级逻辑并添加等级显示
- 修改PurpleCrystal和LGBT武器的属性增长系数 - 武器升级时增加等级并调整消耗计算 - 在UI中添加武器等级显示 - 升级后自动更新武器信息
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
[ext_resource type="Theme" uid="uid://bje5cd08dyok7" path="res://themes/bigTextAndBold.tres" id="2_y8dft"]
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/WeaponName.gd" id="3_g750e"]
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_k3i20"]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_1vypy"]
|
||||
font_size = 12
|
||||
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_07pas"]
|
||||
[sub_resource type="LabelSettings" id="LabelSettings_pyxdw"]
|
||||
font_size = 12
|
||||
|
||||
[node name="WeaponName" type="HBoxContainer"]
|
||||
@@ -34,7 +34,7 @@ unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 0
|
||||
text = "[普通]"
|
||||
label_settings = SubResource("LabelSettings_k3i20")
|
||||
label_settings = SubResource("LabelSettings_1vypy")
|
||||
|
||||
[node name="label" type="RichTextLabel" parent="."]
|
||||
unique_name_in_owner = true
|
||||
@@ -45,9 +45,19 @@ text = "[b]未命名武器[/b]"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="level" type="RichTextLabel" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
theme = ExtResource("2_y8dft")
|
||||
bbcode_enabled = true
|
||||
text = "[b]Lv.1[/b]"
|
||||
fit_content = true
|
||||
autowrap_mode = 0
|
||||
|
||||
[node name="typeTopic" type="Label" parent="."]
|
||||
unique_name_in_owner = true
|
||||
layout_mode = 2
|
||||
size_flags_vertical = 8
|
||||
text = "[冲击]"
|
||||
label_settings = SubResource("LabelSettings_07pas")
|
||||
label_settings = SubResource("LabelSettings_pyxdw")
|
||||
|
||||
Reference in New Issue
Block a user