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