diff --git a/lua/app/ui/hero/skin_info_comp.lua b/lua/app/ui/hero/skin_info_comp.lua
index adc4c4e0..77f5d938 100644
--- a/lua/app/ui/hero/skin_info_comp.lua
+++ b/lua/app/ui/hero/skin_info_comp.lua
@@ -92,14 +92,26 @@ function SkinInfoComp:refreshSelectSkin(selectId)
-- 攻击
table.insert(showAttrType, GConst.MATCH_ATTACK_NAME[self.heroEntity:getMatchType()])
imgIcon:setSprite(GConst.ATLAS_PATH.COMMON, "common_dec_5")
- txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_3).."")
+ txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.ATTR_ATK).."")
showValue = curAttr[index].num // DEFAULT_FACTOR
elseif curAttr[index].type == GConst.MATCH_ATTACK_ADD_NAME[self.heroEntity:getMatchType()] then
-- 攻击加成百分比
table.insert(showAttrType, GConst.MATCH_ATTACK_ADD_NAME[self.heroEntity:getMatchType()])
imgIcon:setSprite(GConst.ATLAS_PATH.COMMON, "common_dec_5")
- txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_3).."")
+ txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.ATTR_ATK).."")
showValue = curAttr[index].num // PERCENT_FACTOR .. "%"
+ elseif curAttr[index].type == GConst.MATCH_HP_NAME[self.heroEntity:getMatchType()] then
+ -- 生命
+ table.insert(showAttrType, GConst.MATCH_HP_NAME[self.heroEntity:getMatchType()])
+ imgIcon:setSprite(GConst.ATLAS_PATH.COMMON, "common_dec_4")
+ txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.ATTR_HP).."")
+ showValue = curAttr[index].num // DEFAULT_FACTOR
+ elseif curAttr[index].type == GConst.MATCH_HP_ADD_NAME[self.heroEntity:getMatchType()] then
+ -- 生命加成百分比
+ table.insert(showAttrType, GConst.MATCH_HP_ADD_NAME[self.heroEntity:getMatchType()])
+ imgIcon:setSprite(GConst.ATLAS_PATH.COMMON, "common_dec_4")
+ txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.ATTR_HP).."")
+ showValue = (curAttr[index].num // PERCENT_FACTOR) .. "%"
elseif curAttr[index].type == GConst.MATCH_NORMAL_HURT_NAME[self.heroEntity:getMatchType()] then
-- 普攻增伤
table.insert(showAttrType, GConst.MATCH_NORMAL_HURT_NAME[self.heroEntity:getMatchType()])
@@ -142,12 +154,6 @@ function SkinInfoComp:refreshSelectSkin(selectId)
imgIcon:setSprite(GConst.ATLAS_PATH.COMMON, "common_dec_24")
txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.ATTR_CURED).."")
showValue = curAttr[index].num // PERCENT_FACTOR .. "%"
- elseif curAttr[index].type == GConst.MATCH_HP_NAME[self.heroEntity:getMatchType()] then
- -- 生命
- table.insert(showAttrType, GConst.MATCH_HP_NAME[self.heroEntity:getMatchType()])
- imgIcon:setSprite(GConst.ATLAS_PATH.COMMON, "common_dec_4")
- txTitle:setText(""..I18N:getGlobalText(I18N.GlobalConst.HERO_DESC_2).."")
- showValue = curAttr[index].num // DEFAULT_FACTOR
else
obj:setVisible(false)
end