| | |
| | | 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
|