优化显示

This commit is contained in:
xiekaidong 2023-07-25 21:52:29 +08:00
parent ca3ab5bf39
commit fd73d1b27e

View File

@ -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