From fd73d1b27eac688a4f9d1ef13542b1646ee82589 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Tue, 25 Jul 2023 21:52:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/ui/hero/cell/attr_cell.lua | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lua/app/ui/hero/cell/attr_cell.lua b/lua/app/ui/hero/cell/attr_cell.lua index 6e0d29d2..e0857f49 100644 --- a/lua/app/ui/hero/cell/attr_cell.lua +++ b/lua/app/ui/hero/cell/attr_cell.lua @@ -145,7 +145,7 @@ function AttrCell:showCrit() elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then end - self.txValue:setText(value // PERCENT_FACTOR) + self.txValue:setText(value // PERCENT_FACTOR .. "%") end -- 显示暴击伤害百分比 @@ -163,7 +163,7 @@ function AttrCell:showCritAtk() elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then end - self.txValue:setText(value // PERCENT_FACTOR) + self.txValue:setText(value // PERCENT_FACTOR .. "%") end -- 显示普攻增伤百分比 @@ -184,7 +184,7 @@ function AttrCell:showNormalHurtp() elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then end - self.txValue:setText(value // PERCENT_FACTOR) + self.txValue:setText(value // PERCENT_FACTOR .. "%") end -- 显示技能增伤百分比 @@ -205,7 +205,7 @@ function AttrCell:showSkillHurtp() elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then end - self.txValue:setText(value // PERCENT_FACTOR) + self.txValue:setText(value // PERCENT_FACTOR .. "%") end -- 显示治疗效果提升百分比 @@ -223,7 +223,7 @@ function AttrCell:showCured() elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then end - self.txValue:setText(value // PERCENT_FACTOR) + self.txValue:setText(value // PERCENT_FACTOR .. "%") end return AttrCell \ No newline at end of file