【山河社稷图】小关卡单独上阵报错修改
parent
f51c80b277
commit
cce7591927
|
@ -106,7 +106,7 @@ function this.HeroUpDownCheck(params, checkFail, CheckSuccess)
|
|||
if params.action == FORMATION_ACTION.UP then
|
||||
if this.GetFormationIndex() == FormationTypeDef.FIGHT_ASSISTANTLEVEL then--山河社稷图判断上阵数量
|
||||
local curmaxNum = FightLevelManager.GetFormationHeroMaxNum(this.nodeData)
|
||||
if LengthOfTable(this.choosedList) >= curmaxNum then
|
||||
if LengthOfTable(this.root.choosedList) >= curmaxNum then
|
||||
if checkFail then
|
||||
checkFail(Language[10689])
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue