| | |
| | | def __RunAnswerAction(curPlayer, curMission, answersNode):
|
| | | actionsNode = __FindAnswerActionNode(curPlayer, curMission, answersNode)
|
| | | if actionsNode == None or actionsNode.IsEmpty():
|
| | | GameWorld.Log('__RunAnswerAction找不到回答节点')
|
| | | GameWorld.DebugLog('__RunAnswerAction找不到回答节点--%s'%curMission.GetMissionID())
|
| | | return
|
| | |
|
| | | __DoAnswerActionNode(curPlayer, curMission, actionsNode)
|
| | |
| | | elif missionType == QuestCommon.Def_Mission_Type_RunFamily:
|
| | | PlayerActivity.AddDailyActionFinishCnt(curPlayer, ShareDefine.DailyActionID_FamilyRunMission, addCnt)
|
| | | PlayerFamily.AddFamilyActivity(curPlayer, ShareDefine.FamilyActive_Task, addCnt)
|
| | | else:
|
| | | GameWorld.Log(' 跑环完成触发活跃度异常 missionType=%s'%missionType, curPlayer.GetPlayerID())
|
| | | return
|
| | |
|
| | |
|