七界试炼bug修复
parent
db1e9a9305
commit
9f4109c16f
|
@ -629,6 +629,15 @@ function this.ShowBattleResult(result, msg)
|
|||
elseif BattleManager.GetLastBattleType() == BATTLE_TYPE.CHALLENG_COPY_1 or BattleManager.GetLastBattleType() == BATTLE_TYPE.CHALLENG_COPY_2 then
|
||||
--只显示胜利界面
|
||||
UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult)
|
||||
elseif BattleManager.GetLastBattleType()==BATTLE_TYPE.QIJIE_FIGHT then
|
||||
PrivilegeManager.RefreshPrivilegeUsedTimes(3201, 1)--更新特权
|
||||
LogRed("result:"..tostring(result))
|
||||
if result == 0 then -- 失败
|
||||
local haveRecord = BattleRecordManager.isHaveRecord()
|
||||
UIManager.OpenPanel(UIName.BattleFailPopup, this, haveRecord,nil,fightType)
|
||||
else -- 胜利
|
||||
UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult)
|
||||
end
|
||||
else
|
||||
LogRed("result:"..tostring(result))
|
||||
if result == 0 then -- 失败
|
||||
|
|
|
@ -133,7 +133,6 @@ function this.ShowBattleResultByQiJie()
|
|||
UIManager.OpenPanel(UIName.BattleBestPopup, bestData.roleId,bestData.skinId, bestData.damage, allDamage, function(_BattleBestPopup)
|
||||
-- 打开关卡奖励界面
|
||||
UIManager.OpenPanel(UIName.RewardItemPopup, QiJieShiLianManager.battleResult.drop, 1,function(isBackBattle)
|
||||
PrivilegeManager.RefreshPrivilegeUsedTimes(3201, 1)--更新特权
|
||||
if not isBackBattle then
|
||||
if _BattleBestPopup then
|
||||
_BattleBestPopup:ClosePanel()
|
||||
|
|
Loading…
Reference in New Issue