From 6a7c9b920db4e0df17ffd184049f51dc42a2196c Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Fri, 27 Nov 2020 16:34:34 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=BD=A6=E8=BF=9F=E6=96=97=E6=B3=95?= =?UTF-8?q?=E3=80=91=20=E4=BF=AE=E6=94=B9=E6=8A=A2=E5=A4=BA=20=E6=8C=91?= =?UTF-8?q?=E6=88=98=E6=97=B6=E4=BC=9A=E6=8A=A5=E9=94=99=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/CarDelay/GuildCarDelayManager.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayManager.lua b/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayManager.lua index b97c3611c0..005029f06d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/CarDelay/GuildCarDelayManager.lua @@ -26,7 +26,7 @@ end --开始战斗 this.score = 0 this.hurt = 0 -this.heroDidData = 0--抢夺是向后端传的id +this.heroDidData = {}--抢夺是向后端传的id function this.SetheroDid(_heroDidData) this.heroDidData = _heroDidData end @@ -53,7 +53,7 @@ function this.FightBattle( callBack) this.score = msg.score this.hurt = msg.hurt local fightData = BattleManager.GetBattleServerData(msg,fightType) - if this.heroDidData and this.heroDidData.teamInfo and #this.heroDidData.teamInfo > 0 then + if (this.progress == GuildCarDelayProType.Loot and this.heroDidData and this.heroDidData.teamInfo and #this.heroDidData.teamInfo > 0) or this.progress == GuildCarDelayProType.Challenge then UIManager.OpenPanel(UIName.BattlePanel, fightData, BATTLE_TYPE.GUILD_CAR_DELAY, callBack) else--抢夺目标阵容为空时 --车迟抢夺cd计时