From 03f14ad4e3576ba4b9ce186e91d9763be7f13b08 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期五, 23 十一月 2018 23:41:49 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py | 11 ++++++----- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py index 9143b94..a07015b 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/QuestRunner.py @@ -4927,8 +4927,9 @@ #总跑环次数已满,不可再做 - 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 @@ -4976,9 +4977,9 @@ 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) -- Gitblit v1.8.0