【车迟斗法】车迟斗法倒计时不是在战斗结束开始计算
parent
115b2ee04d
commit
3bd507747e
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue