神将置换去掉检测编队

dev_chengFeng
jiaoyangna 2020-08-27 21:17:47 +08:00
parent 283ffca275
commit f25bdb2d17
2 changed files with 2 additions and 7 deletions

View File

@ -326,9 +326,9 @@ function this.SingleHeroDataShow(_go,_heroData)
end)
Util.AddOnceClick(formationMask, function()
if LengthOfTable(heroData.formationList) ~= 0 then
if LengthOfTable(hheroData.isFormations) ~= 0 then
local text = ""
for key, value in pairs(heroData.formationList) do
for key, value in pairs(heroData.isFormations) do
text = Language[12317]..HeroManager.GetHeroFormationStr2(key)..Language[12318]
end
PopupTipPanel.ShowTip(text)

View File

@ -2967,11 +2967,6 @@ function this.ByReplaceHeroGetAllHeros()
local isFormationStr = HeroManager.GetHeroFormationStr(w)
if isFormationStr and isFormationStr ~= "" then
table.insert(isFormations, w)
if v.isFormation and v.isFormation ~= "" then
v.isFormation = v.isFormation .. "".. isFormationStr
else
v.isFormation = isFormationStr
end
end
end
end