优化显示
This commit is contained in:
parent
ca3ab5bf39
commit
fd73d1b27e
@ -145,7 +145,7 @@ function AttrCell:showCrit()
|
|||||||
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
||||||
end
|
end
|
||||||
|
|
||||||
self.txValue:setText(value // PERCENT_FACTOR)
|
self.txValue:setText(value // PERCENT_FACTOR .. "%")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 显示暴击伤害百分比
|
-- 显示暴击伤害百分比
|
||||||
@ -163,7 +163,7 @@ function AttrCell:showCritAtk()
|
|||||||
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
||||||
end
|
end
|
||||||
|
|
||||||
self.txValue:setText(value // PERCENT_FACTOR)
|
self.txValue:setText(value // PERCENT_FACTOR .. "%")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 显示普攻增伤百分比
|
-- 显示普攻增伤百分比
|
||||||
@ -184,7 +184,7 @@ function AttrCell:showNormalHurtp()
|
|||||||
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
||||||
end
|
end
|
||||||
|
|
||||||
self.txValue:setText(value // PERCENT_FACTOR)
|
self.txValue:setText(value // PERCENT_FACTOR .. "%")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 显示技能增伤百分比
|
-- 显示技能增伤百分比
|
||||||
@ -205,7 +205,7 @@ function AttrCell:showSkillHurtp()
|
|||||||
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
||||||
end
|
end
|
||||||
|
|
||||||
self.txValue:setText(value // PERCENT_FACTOR)
|
self.txValue:setText(value // PERCENT_FACTOR .. "%")
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 显示治疗效果提升百分比
|
-- 显示治疗效果提升百分比
|
||||||
@ -223,7 +223,7 @@ function AttrCell:showCured()
|
|||||||
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
elseif self.nodeType == GConst.HeroConst.ATTR_SHOW_SKIN then
|
||||||
end
|
end
|
||||||
|
|
||||||
self.txValue:setText(value // PERCENT_FACTOR)
|
self.txValue:setText(value // PERCENT_FACTOR .. "%")
|
||||||
end
|
end
|
||||||
|
|
||||||
return AttrCell
|
return AttrCell
|
||||||
Loading…
x
Reference in New Issue
Block a user