1
1
mirror of https://github.com/Rundll86/Dog-Lynx-And-HCN.git synced 2026-05-30 16:01:53 +08:00

feat(UI): 添加祝贺消息类型并更新提示框样式

- 在TipBox枚举中添加CONGRATULATION类型
- 更新提示框背景颜色和消息类型颜色映射
- 当击败boss时显示祝贺消息而非普通信息
This commit is contained in:
2026-01-25 21:43:53 +08:00
parent 06c2637ebb
commit 7a71d561c7
3 changed files with 11 additions and 8 deletions
+1 -1
View File
@@ -369,7 +369,7 @@ func tryDie(by: BulletBase = null):
await die()
died.emit()
if isBoss:
UIState.showTip("[b]%s[/b] 已被打败!" % displayName, TipBox.MessageType.INFO)
UIState.showTip("[b]%s[/b] 已被打败!" % displayName, TipBox.MessageType.CONGRATULATION)
elif isPlayer():
UIState.showTip("[b]%s[/b] 似了😭。" % displayName, TipBox.MessageType.ERROR)
queue_free()