From fac1e2c2d52ae6dd976a762bdf75479b29abf23f Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Tue, 6 Jun 2023 18:20:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=B8=80=E4=B8=8B=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/common/bi_report.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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