| | |
| | |
|
| | |
|
| | | #总跑环次数已满,不可再做
|
| | | if run_event == Def_Run_Around_Over_1 and allCount >= RUNCOUNT:
|
| | | return
|
| | | if run_event == Def_Run_Around_Over_1:
|
| | | if allCount >= RUNCOUNT or aroundCount >= AROUNDCOUNT:
|
| | | return
|
| | |
|
| | | nextMissionID = 0
|
| | | nextMission = None
|
| | |
| | |
|
| | | if curMissionData.Type == QuestCommon.Def_Mission_Type_RunFamily:
|
| | | PlayerSuccess.DoAddSuccessProgress(curPlayer, ShareDefine.SuccType_TaskFRun, 1)
|
| | | if allCount < RUNCOUNT:
|
| | | nextMissionID = __OverRandRunAround(curPlayer, curMissionData)
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RunTaskNextMissionID % curMissionData.Type, nextMissionID)
|
| | | # if allCount < RUNCOUNT:
|
| | | # nextMissionID = __OverRandRunAround(curPlayer, curMissionData)
|
| | | # PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_RunTaskNextMissionID % curMissionData.Type, nextMissionID)
|
| | |
|
| | |
|
| | |
|
| | |
| | | #记录副本对应的任务ID
|
| | | if FBCommon.GetRecordMapID(mapID) in [ChConfig.Def_FBMapID_ClearDevil, ChConfig.Def_FBMapID_MagicWeapon]:
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_ReqFBMissionID, curMission.GetMissionID())
|
| | | missionID = curMission.GetMissionID()
|
| | | curMissionData = FindQuestFunc(missionID)
|
| | | if curMissionData:
|
| | | missionType = curMissionData.Type
|
| | | PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_Player_Dict_ReqFBMissionType, missionType)
|
| | | return
|
| | |
|
| | | #---------------------------------------------------------------------
|