1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-27 22:41:56 +08:00

feat(武器系统): 添加武器升华选项功能

实现武器升华选项系统,允许为武器添加可选的强化效果。主要修改包括:
1. 新增 SublimateOption 类用于定义升华选项
2. 在 Weapon 类中添加 storeExtra 字典和相关方法用于存储额外属性
3. 为 Tree 武器实现具体的升华选项
4. 添加调试标记 debugRebuild
This commit is contained in:
2026-05-10 10:01:03 +08:00
parent 1f409d8c60
commit 1071e87da6
5 changed files with 43 additions and 2 deletions
+1
View File
@@ -70,6 +70,7 @@ descriptionTemplate = "进行[b]格挡[/b],化解敌人的攻击。
sources = Array[String](["Nine Sols", "Terraria"])
tease = "卸劲反伤"
cooldown = 250.0
debugRebuild = true
[node name="avatar" parent="container/info" parent_id_path=PackedInt32Array(1625294072) index="0" unique_id=1021985889]
texture = ExtResource("3_nwamk")