10170 【越南】【主干】【港台】终身卡(快速完成任务仅任务类型7跟12需要扣钱)
1个文件已修改
4 ■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventShell.py
@@ -4986,9 +4986,11 @@
        EventRespons_OnQuickFinishAllAround(curPlayer, missionID)
        return
    
    curQuestData = QuestManager.FindQuest(missionID)
    isFree = PlayerGoldInvest.CanQuickFinishMissionFree(curPlayer)
    costMoneyInfo = IpyGameDataPY.GetFuncEvalCfg("QuickFinishMission", 1)
    if costMoneyInfo and not isFree:
    if costMoneyInfo and not isFree and \
        curQuestData != None 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