【车迟斗法】 修改抢夺 挑战时会报错修复
parent
17882656fe
commit
6a7c9b920d
|
@ -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计时
|
||||
|
|
Loading…
Reference in New Issue