【战力不一致】我要变强界面和主城战力不一致
parent
a87f40756d
commit
c2d6f137b6
|
@ -187,7 +187,7 @@ end
|
||||||
-- 刷新英雄列表显示
|
-- 刷新英雄列表显示
|
||||||
function this.RefreshHeroPanelShow()
|
function this.RefreshHeroPanelShow()
|
||||||
--
|
--
|
||||||
local power = 0
|
-- local power = 0
|
||||||
local formationData = FormationManager.GetFormationByID(FormationManager.curFormationIndex)
|
local formationData = FormationManager.GetFormationByID(FormationManager.curFormationIndex)
|
||||||
|
|
||||||
for i = 1, 6 do
|
for i = 1, 6 do
|
||||||
|
@ -201,8 +201,8 @@ function this.RefreshHeroPanelShow()
|
||||||
|
|
||||||
|
|
||||||
local heroDId = hero.heroId
|
local heroDId = hero.heroId
|
||||||
local allEquipAddProVal = HeroManager.CalculateHeroAllProValList(1, heroDId, false)
|
-- local allEquipAddProVal = HeroManager.CalculateHeroAllProValList(1, heroDId, false)
|
||||||
power = power + allEquipAddProVal[HeroProType.WarPower]
|
-- power = power + allEquipAddProVal[HeroProType.WarPower]
|
||||||
local heroData = HeroManager.GetSingleHeroData(heroDId)
|
local heroData = HeroManager.GetSingleHeroData(heroDId)
|
||||||
this.SingleHeroDataShow(this.groupBox[pos], heroData, pos)
|
this.SingleHeroDataShow(this.groupBox[pos], heroData, pos)
|
||||||
|
|
||||||
|
@ -211,7 +211,7 @@ function this.RefreshHeroPanelShow()
|
||||||
this.ChooseHero(this.groupBox[pos], heroData, pos)
|
this.ChooseHero(this.groupBox[pos], heroData, pos)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
this.forceValue.text = power
|
this.forceValue.text = FormationManager.GetFormationPower(FormationTypeDef.FORMATION_NORMAL)--power
|
||||||
end
|
end
|
||||||
|
|
||||||
-- 刷新成长选项
|
-- 刷新成长选项
|
||||||
|
|
Loading…
Reference in New Issue