From dc19072f2c769d8b13ad80beb63849ece3dcd300 Mon Sep 17 00:00:00 2001 From: panFD Date: Sun, 13 Sep 2026 13:02:06 +0800 Subject: [PATCH] =?UTF-8?q?style(skill=20tooltip):=20=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E6=8A=A4=E7=9B=BE=20tooltip=20=E6=98=BE=E7=A4=BA=E6=96=87?= =?UTF-8?q?=E6=9C=AC=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 移除护盾提示文本中的“吸收”前缀,只保留数值 --- assets/script/game/skill/TooltipCom.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/script/game/skill/TooltipCom.ts b/assets/script/game/skill/TooltipCom.ts index 80f30169..f8d0daad 100644 --- a/assets/script/game/skill/TooltipCom.ts +++ b/assets/script/game/skill/TooltipCom.ts @@ -135,10 +135,10 @@ export class TooltipCom extends CCComp { this.node.setPosition(v3(this.node.position.x, currentY - 60)); this.node.setSiblingIndex(topSiblingIndex); break; - case TooltipTypes.shield: // 护盾吸收伤害:显示“吸收”+ 数值 + case TooltipTypes.shield: // 护盾吸收伤害:显示 数值 this.node.setPosition(v3(this.node.position.x + offsetX, currentY)); this.node.setSiblingIndex(topSiblingIndex); - this.setupTipLabel(`吸收 ${this.value}`, this.tipColor ?? new Color(79, 195, 247, 255)); // 默认蓝 + this.setupTipLabel(`${this.value}`, this.tipColor ?? new Color(79, 195, 247, 255)); // 默认蓝 isHeal = true; // 垂直上飘,区别于伤害随机横飘 break; case TooltipTypes.miss: // 闪避