【车迟斗法】车迟斗法倒计时不是在战斗结束开始计算

dev_chengFeng
zhangqiang 2021-04-09 10:57:31 +08:00
parent 115b2ee04d
commit 3bd507747e
2 changed files with 4 additions and 4 deletions

View File

@ -503,14 +503,14 @@ function this.ShowBattleResultByCarDeleayType()
Timer.New(function() Timer.New(function()
local bestData, allDamage= BattleRecordManager.GetBattleBestData() local bestData, allDamage= BattleRecordManager.GetBattleBestData()
if bestData then if bestData then
--车迟挑战cd计时
GuildCarDelayManager.SetCdTime(GuildCarDelayProType.Challenge)
-- 胜利显示本场比赛的表现最好的英雄 -- 胜利显示本场比赛的表现最好的英雄
UIManager.OpenPanel(UIName.BattleBestPopup, bestData.roleId,bestData.skinId, bestData.damage, allDamage, function(_BattleBestPopup) UIManager.OpenPanel(UIName.BattleBestPopup, bestData.roleId,bestData.skinId, bestData.damage, allDamage, function(_BattleBestPopup)
-- 打开关卡奖励界面 -- 打开关卡奖励界面
UIManager.OpenPanel(UIName.RewardItemPopup,nil, 1,function(isBackBattle)--isBackBattle true时 为回放不走回调 UIManager.OpenPanel(UIName.RewardItemPopup,nil, 1,function(isBackBattle)--isBackBattle true时 为回放不走回调
LogPink("isBackBattle "..tostring(isBackBattle)) LogPink("isBackBattle "..tostring(isBackBattle))
if not isBackBattle then if not isBackBattle then
--车迟挑战cd计时
GuildCarDelayManager.SetCdTime(GuildCarDelayProType.Challenge)
if _BattleBestPopup then if _BattleBestPopup then
_BattleBestPopup:ClosePanel() _BattleBestPopup:ClosePanel()
end end

View File

@ -152,14 +152,14 @@ end
function this.ShowBattleResultByCarDeleayType(drop) function this.ShowBattleResultByCarDeleayType(drop)
local bestData, allDamage= BattleRecordManager.GetBattleBestData() local bestData, allDamage= BattleRecordManager.GetBattleBestData()
if bestData then if bestData then
--车迟抢夺cd计时
GuildCarDelayManager.SetCdTime(GuildCarDelayProType.Loot)
-- 胜利显示本场比赛的表现最好的英雄 -- 胜利显示本场比赛的表现最好的英雄
UIManager.OpenPanel(UIName.BattleBestPopup, bestData.roleId,bestData.skinId, bestData.damage, allDamage, function(_BattleBestPopup) UIManager.OpenPanel(UIName.BattleBestPopup, bestData.roleId,bestData.skinId, bestData.damage, allDamage, function(_BattleBestPopup)
-- 打开关卡奖励界面 -- 打开关卡奖励界面
UIManager.OpenPanel(UIName.RewardItemPopup,nil, 1,function(isBackBattle)--isBackBattle true时 为回放不走回调 UIManager.OpenPanel(UIName.RewardItemPopup,nil, 1,function(isBackBattle)--isBackBattle true时 为回放不走回调
LogPink("isBackBattle "..tostring(isBackBattle)) LogPink("isBackBattle "..tostring(isBackBattle))
if not isBackBattle then if not isBackBattle then
--车迟抢夺cd计时
GuildCarDelayManager.SetCdTime(GuildCarDelayProType.Loot)
if _BattleBestPopup then if _BattleBestPopup then
_BattleBestPopup:ClosePanel() _BattleBestPopup:ClosePanel()
end end