diff --git a/lua/app/common/bi_report.lua b/lua/app/common/bi_report.lua index 5a7baea0..54234054 100644 --- a/lua/app/common/bi_report.lua +++ b/lua/app/common/bi_report.lua @@ -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