更新一下字段
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
|
for matchType, heroId in pairs(formation) do
|
||||||
local entity = DataManager.HeroData:getHeroById(heroId)
|
local entity = DataManager.HeroData:getHeroById(heroId)
|
||||||
if entity then
|
if entity then
|
||||||
if args.fomation then
|
if args.formation then
|
||||||
args.fomation = args.fomation .. "|"
|
args.formation = args.formation .. "|"
|
||||||
else
|
else
|
||||||
args.fomation = GConst.EMPTY_STRING
|
args.formation = GConst.EMPTY_STRING
|
||||||
end
|
end
|
||||||
args.fomation = args.fomation .. heroId .. ":" .. entity:getLv()
|
args.formation = args.formation .. heroId .. ":" .. entity:getLv()
|
||||||
famation_level = famation_level + entity:getLv()
|
famation_level = famation_level + entity:getLv()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -870,12 +870,12 @@ function BIReport:postHeroOpt(heroId, optType)
|
|||||||
for matchType, heroId in pairs(formation) do
|
for matchType, heroId in pairs(formation) do
|
||||||
local entity = DataManager.HeroData:getHeroById(heroId)
|
local entity = DataManager.HeroData:getHeroById(heroId)
|
||||||
if entity then
|
if entity then
|
||||||
if args.fomation then
|
if args.formation then
|
||||||
args.fomation = args.fomation .. "|"
|
args.formation = args.formation .. "|"
|
||||||
else
|
else
|
||||||
args.fomation = GConst.EMPTY_STRING
|
args.formation = GConst.EMPTY_STRING
|
||||||
end
|
end
|
||||||
args.fomation = args.fomation .. heroId .. ":" .. entity:getLv()
|
args.formation = args.formation .. heroId .. ":" .. entity:getLv()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user