【鸿蒙阵修改】
parent
8a3eb5aab8
commit
e5b2be7e81
|
@ -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
|
||||
|
|
|
@ -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>"
|
||||
|
||||
|
|
Loading…
Reference in New Issue