|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | #总跑环次数已满,不可再做 | 
|---|
|  |  |  | 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) | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|