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

refactor(Weapon): 优化武器描述格式并添加内伤机制

调整武器描述文本格式以提高可读性,并新增内伤机制:
- 为不同攻击类型添加内伤效果
- 完善爆炸伤害触发内伤的规则
- 优化文本排版和分段
- 移除描述文本的居中显示
This commit is contained in:
2026-05-09 18:35:15 +08:00
parent 7c78deaa7b
commit a6448813b8
2 changed files with 74 additions and 26 deletions
+1 -1
View File
@@ -200,7 +200,7 @@ func buildDescription(showNext: bool = false) -> String:
else:
text = "[color=cyan]%s[/color]" % data
result = result.replace("$" + key, text)
return "[center]%s[/center]" % result
return result
func readStore(key: String, default: Variant = null):
return store.get(key, default)
func playSound(sound: String):