1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-06-12 14:47:13 +08:00

feat(武器系统): 重构武器信息显示逻辑并添加新功能

重构武器卡片的信息显示逻辑,使用ItemShow组件替代原有Label显示
添加武器升级和镶嵌前的预览功能
为武器描述添加升级前后数值对比显示
新增FREQUENCY数据类型支持
统一子弹生命周期参数为lifeTime
This commit is contained in:
2025-10-01 07:58:09 +08:00
parent 97a4fb1fc2
commit d0e3564933
18 changed files with 64 additions and 91 deletions
+1
View File
@@ -20,6 +20,7 @@ animations = [{
[node name="PurpleCrystal" instance=ExtResource("1_45mh7")]
script = ExtResource("2_4lnlm")
displayName = "水晶"
lifeTime = 1000.0
[node name="texture" parent="." index="0"]
sprite_frames = SubResource("SpriteFrames_r86b3")
+1 -1
View File
@@ -24,7 +24,7 @@ script = ExtResource("2_it0pa")
displayName = "微型水晶"
speed = 15.0
damage = 0.5
lifeDistance = 1400.0
lifeTime = 1000.0
[node name="texture" parent="." index="0"]
scale = Vector2(0.6, 0.6)