10170 【越南】【主干】【港台】终身卡(快速完成任务附加验证玩家是否有该任务)
1个文件已修改
6 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -4987,10 +4987,12 @@
        return
    
    curQuestData = QuestManager.FindQuest(missionID)  
    curMission = curPlayer.FindMission(missionID)
    if not curQuestData or not curMission:
        return
    isFree = PlayerGoldInvest.CanQuickFinishMissionFree(curPlayer)
    costMoneyInfo = IpyGameDataPY.GetFuncEvalCfg("QuickFinishMission", 1)
    if costMoneyInfo and not isFree and \
        curQuestData != None and curQuestData.Type in QuestCommon.Def_RunTask_Type_List:
    if costMoneyInfo and not isFree and curQuestData.Type in QuestCommon.Def_RunTask_Type_List:
        moneyType, moneyValue = costMoneyInfo
        if not PlayerControl.PayMoney(curPlayer, moneyType, moneyValue, ChConfig.Def_Cost_MissionDel, {"MissionID":missionID}):
            return