【鸿蒙阵修改】

DESKTOP-98AVA47\Administrator 2021-01-12 00:55:02 +08:00
parent 8a3eb5aab8
commit e5b2be7e81
2 changed files with 4 additions and 3 deletions

View File

@ -34,7 +34,8 @@ HeroData.__get__.lv = function(self)
return endLv
elseif HarmonyManager.hongmengAdditions[1] and HarmonyManager:IsEnvoy(self.dynamicId) then
if HarmonyManager.hongmengAdditions[1].heroTid == 0 then
--print("self._id @@@"..HarmonyManager.hongmengAdditions[1].heroTid.."#####"..HarmonyManager.hongmengAdditions[1].value )
if HarmonyManager.hongmengAdditions[1].heroTid >= 0 and HarmonyManager.hongmengAdditions[1].value > 0 then
-- body
local temp_lv = 0
if HeroManager.IsTenTalent(self._id) then
@ -43,7 +44,7 @@ HeroData.__get__.lv = function(self)
else
temp_lv = HeroManager.heroLvEnd[self.id]
end
--print("self._id 222"..self._id)
return temp_lv
else
return self._lv

View File

@ -267,7 +267,7 @@ function this.SingleHeroDataShow(_go,_heroData)
-- body
Util.GetGameObject(_go.transform, "card/lv/Text"):GetComponent("Text").text = "<color=#0f0>"..heroData.lv.."</color>"
elseif HarmonyManager:IsEnvoy(heroData.dynamicId) and HarmonyManager.hongmengAdditions[1] then
if HarmonyManager.hongmengAdditions[1].heroTid == 0 then
if HarmonyManager.hongmengAdditions[1].heroTid == 0 and HarmonyManager.hongmengAdditions[1].value > 0 then
-- body
Util.GetGameObject(_go.transform, "card/lv/Text"):GetComponent("Text").text = "<color=#ffbe22>"..heroData.lv.."</color>"