ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GM/Commands/ClearInvest.py
@@ -32,12 +32,22 @@
    if not msgList:
        GameWorld.DebugAnswer(curPlayer, "重置所有投资: ClearInvest 0")
        GameWorld.DebugAnswer(curPlayer, "重置指定投资: ClearInvest 类型")
        GameWorld.DebugAnswer(curPlayer, "激活指定投资: ClearInvest A 类型")
        GameWorld.DebugAnswer(curPlayer, "类型:7-永久卡;8-周卡;9-登录卡;10-等级卡;11-boss卡;;12-终身卡;")
        return
    
    investType = msgList[0]
    if not investType:
        investTypeList = ChConfig.InvestTypeList
    elif investType == "A":
        investType = msgList[1] if len(msgList) > 1 else 0
        if investType not in ChConfig.InvestTypeList:
            GameWorld.DebugAnswer(curPlayer, "不存在该投资类型!")
            return
        PlayerGoldInvest.__DoLogicInvest(curPlayer, investType)
        GameWorld.DebugAnswer(curPlayer, "激活投资: %s" % investType)
        return
    elif investType not in ChConfig.InvestTypeList:
        GameWorld.DebugAnswer(curPlayer, "不存在该投资类型!")
        return
@@ -50,6 +60,6 @@
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_InvestReward % (itype, keyNum), 0)
            PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_InvestProgress % (itype, keyNum), 0)
        PlayerGoldInvest.Sync_InvestInfo(curPlayer, itype)
    PlayerControl.Sync_ExpRateChange(curPlayer)
    return