ServerPython/CoreServerGroup/GameServer/Script/GM/Commands/FamilyCTGAssiat.py
@@ -31,7 +31,7 @@
    if not cmdList:
        GameWorld.DebugAnswer(curPlayer, "重置充值互助: FamilyCTGAssiat 0 actNum")
        GameWorld.DebugAnswer(curPlayer, "增加充值互助: FamilyCTGAssiat 1 actNum 人数")
        GameWorld.DebugAnswer(curPlayer, "设置领奖人数: FamilyCTGAssiat 2 actNum 档位 人数")
        #GameWorld.DebugAnswer(curPlayer, "设置领奖人数: FamilyCTGAssiat 2 actNum 档位 人数")
        return
    
    familyID = curPlayer.GetFamilyID()
@@ -56,7 +56,7 @@
    
    if value1 == 1:
        addCTGPlayers = cmdList[2] if len(cmdList) > 2 else 0
        ctgPlayerIDList, getAwardPlayerCountDict = PlayerActFamilyCTGAssist.GetFAActPlayerIDInfo(actionData)
        ctgPlayerIDList, getAwardPlayerCountDict, getAwardPlayerIDDict = PlayerActFamilyCTGAssist.GetFAActPlayerIDInfo(actionData)
        
        maxRotID = 0
        for pID in ctgPlayerIDList:
@@ -67,20 +67,20 @@
            maxRotID += 1
            ctgPlayerIDList.append(maxRotID)
            
        PlayerActFamilyCTGAssist.SetFAActPlayerIDInfo(actionData, ctgPlayerIDList, getAwardPlayerCountDict)
        PlayerActFamilyCTGAssist.SetFAActPlayerIDInfo(actionData, ctgPlayerIDList, getAwardPlayerCountDict, getAwardPlayerIDDict)
        PlayerFamilyAction.SendFamilyActionInfo(None, familyID, ActionType)
        GameWorld.DebugAnswer(curPlayer, "增加互助人数!actNum=%s,增加:%s,总人数:%s" % (actNum, addCTGPlayers, len(ctgPlayerIDList)))
        return
    
    if value1 == 2:
        needCTGPlayers = cmdList[2] if len(cmdList) > 2 else 0
        setGetCount = cmdList[3] if len(cmdList) > 3 else 0
        ctgPlayerIDList, getAwardPlayerCountDict = PlayerActFamilyCTGAssist.GetFAActPlayerIDInfo(actionData)
        getAwardPlayerCountDict[str(needCTGPlayers)] = setGetCount
        PlayerActFamilyCTGAssist.SetFAActPlayerIDInfo(actionData, ctgPlayerIDList, getAwardPlayerCountDict)
        PlayerFamilyAction.SendFamilyActionInfo(None, familyID, ActionType)
        GameWorld.DebugAnswer(curPlayer, "设置领奖人数!actNum=%s,档位:%s,总人数:%s" % (actNum, needCTGPlayers, setGetCount))
    #if value1 == 2:
    #    needCTGPlayers = cmdList[2] if len(cmdList) > 2 else 0
    #    setGetCount = cmdList[3] if len(cmdList) > 3 else 0
    #    ctgPlayerIDList, getAwardPlayerCountDict, getAwardPlayerIDDict = PlayerActFamilyCTGAssist.GetFAActPlayerIDInfo(actionData)
    #    getAwardPlayerCountDict[str(needCTGPlayers)] = setGetCount
    #    PlayerActFamilyCTGAssist.SetFAActPlayerIDInfo(actionData, ctgPlayerIDList, getAwardPlayerCountDict, getAwardPlayerIDDict)
    #
    #    PlayerFamilyAction.SendFamilyActionInfo(None, familyID, ActionType)
    #    GameWorld.DebugAnswer(curPlayer, "设置领奖人数!actNum=%s,档位:%s,总人数:%s" % (actNum, needCTGPlayers, setGetCount))
        
    return