Merge branch 'tcx_xiyou_yueNan' of http://192.168.1.21:3000/root/miduo_client into tcx_xiyou_yueNan
commit
95c9d48320
|
@ -173,7 +173,8 @@ function this:BindEvent()
|
|||
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
|
||||
roleLevelUpTime = "x3_stage",
|
||||
roleCreateTime =
|
||||
"id|" .. tostring(levelId)
|
||||
"stage-id|" ..
|
||||
tostring(FightPointPassManager.GetCurFightId() .. "|role-level|" .. tostring(PlayerManager.level))
|
||||
})
|
||||
elseif scale == BATTLE_TIME_SCALE_TWO then
|
||||
-- 2倍速时判断是否解锁了3倍速,没解锁就回到1倍速
|
||||
|
@ -219,7 +220,8 @@ function this:BindEvent()
|
|||
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
|
||||
roleLevelUpTime = "skip_stage",
|
||||
roleCreateTime =
|
||||
"id|" .. tostring(levelId)
|
||||
"stage-id|" ..
|
||||
tostring(FightPointPassManager.GetCurFightId() .. "|role-level|" .. tostring(PlayerManager.level))
|
||||
})
|
||||
--this:ClosePanel()
|
||||
end
|
||||
|
@ -325,7 +327,8 @@ function this:OnOpen(_fightData, _fightType, _endFunc, _guideType, isChangeBGM)
|
|||
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
|
||||
roleLevelUpTime = "main_stage_start",
|
||||
roleCreateTime =
|
||||
"id|" .. tostring(FightPointPassManager.GetCurFightId())
|
||||
"stage-id|" ..
|
||||
tostring(FightPointPassManager.GetCurFightId() .. "|role-level|" .. tostring(PlayerManager.level))
|
||||
})
|
||||
end
|
||||
end
|
||||
|
@ -669,7 +672,6 @@ function this.ShowBattleResult(result, msg)
|
|||
UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult)
|
||||
end
|
||||
else
|
||||
LogRed("result==============================================:" .. tostring(result))
|
||||
if result == 0 then -- 失败
|
||||
local haveRecord = BattleRecordManager.isHaveRecord()
|
||||
UIManager.OpenPanel(UIName.BattleFailPopup, this, haveRecord, nil, fightType)
|
||||
|
@ -684,7 +686,7 @@ function this.ShowBattleResult(result, msg)
|
|||
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
|
||||
roleLevelUpTime = "main_stage_fail",
|
||||
roleCreateTime =
|
||||
"id|" .. tostring(levelId)
|
||||
"stage-id|" .. tostring(levelId) .. "|role-level|" .. tostring(PlayerManager.level)
|
||||
})
|
||||
else
|
||||
if levelId == 5201 then
|
||||
|
@ -698,7 +700,8 @@ function this.ShowBattleResult(result, msg)
|
|||
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
|
||||
roleLevelUpTime = "main_stage_complete",
|
||||
roleCreateTime =
|
||||
"id|" .. tostring(levelId)
|
||||
"stage-id|" ..
|
||||
tostring(FightPointPassManager.lastPassFightId) .. "|role-level|" .. tostring(PlayerManager.level)
|
||||
})
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue