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

feat(武器系统): 添加武器升华功能并优化相关代码

- 在Weapon.gd中添加sublimateToggled信号
- 为武器添加默认的升华选项"强化攻击"
- 优化WeaponPanel.gd中的变量类型声明
- 修改Tree.gd中的描述文本使其更准确
This commit is contained in:
2026-05-10 12:14:27 +08:00
parent 2c705fc4eb
commit aec1db5088
3 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ func sublimateOptions() -> Array[SublimateOption]:
1,
CategoryStore.Quality.RARE
),
SublimateOption.new("亏心", "扣除你的所有幸运,每点幸运增加1%弹反概率",
SublimateOption.new("亏心", "消耗所有幸运,每点幸运增加1%弹反概率",
func(w: Weapon, e: EntityBase):
w.addStoreExtra("rate", e.fields[FieldStore.Entity.LUCK_VALUE]),
1,