From 21488796efae93ab7f074d7ad9bfc9d15d82a182 Mon Sep 17 00:00:00 2001 From: yyl <yyl> Date: 星期五, 29 八月 2025 15:21:49 +0800 Subject: [PATCH] 125 【战斗】战斗系统 --- Main/System/Battle/UIComp/DamageLine.cs | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Main/System/Battle/UIComp/DamageLine.cs b/Main/System/Battle/UIComp/DamageLine.cs index 45edcab..9d1b1bf 100644 --- a/Main/System/Battle/UIComp/DamageLine.cs +++ b/Main/System/Battle/UIComp/DamageLine.cs @@ -9,10 +9,10 @@ public TextEx damageValueLabel; - public void SetDamage(DamageType damageType, long damage) + public void SetDamage(int damageType, long damage) { - damageTypeLabel.SetActive(true); - damageValueLabel.text = damage.ToString(); + damageTypeLabel.SetActive(false); + damageValueLabel.text = BattleUtility.DisplayDamageNum(damage, damageType); } public void SetDamage(long damage) -- Gitblit v1.8.0