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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user