更新一下字段
This commit is contained in:
parent
6cb971d493
commit
fac1e2c2d5
@ -441,12 +441,12 @@ function BIReport:postFightEnd(battleType, chapterId, wave, duration, totalTime,
|
||||
for matchType, heroId in pairs(formation) do
|
||||
local entity = DataManager.HeroData:getHeroById(heroId)
|
||||
if entity then
|
||||
if args.fomation then
|
||||
args.fomation = args.fomation .. "|"
|
||||
if args.formation then
|
||||
args.formation = args.formation .. "|"
|
||||
else
|
||||
args.fomation = GConst.EMPTY_STRING
|
||||
args.formation = GConst.EMPTY_STRING
|
||||
end
|
||||
args.fomation = args.fomation .. heroId .. ":" .. entity:getLv()
|
||||
args.formation = args.formation .. heroId .. ":" .. entity:getLv()
|
||||
famation_level = famation_level + entity:getLv()
|
||||
end
|
||||
end
|
||||
@ -870,12 +870,12 @@ function BIReport:postHeroOpt(heroId, optType)
|
||||
for matchType, heroId in pairs(formation) do
|
||||
local entity = DataManager.HeroData:getHeroById(heroId)
|
||||
if entity then
|
||||
if args.fomation then
|
||||
args.fomation = args.fomation .. "|"
|
||||
if args.formation then
|
||||
args.formation = args.formation .. "|"
|
||||
else
|
||||
args.fomation = GConst.EMPTY_STRING
|
||||
args.formation = GConst.EMPTY_STRING
|
||||
end
|
||||
args.fomation = args.fomation .. heroId .. ":" .. entity:getLv()
|
||||
args.formation = args.formation .. heroId .. ":" .. entity:getLv()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user