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