xdh
2019-07-05 929779dac48b805872319a330f0809bf1e6deaa1
7788 【主干】【后端】周卡月卡调整
2个文件已修改
13 ■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py 11 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/ChConfig.py
@@ -5105,17 +5105,18 @@
# 投资理财类型
GoldInvestTypeList = (
GoldInvestType_Month, # 月卡投资1
GoldInvestType_Month, # 旧月卡投资1(已废弃)
GoldInvestType_VIP, # vip投资2
GoldInvestType_Gold, # 仙玉投资3
GoldInvestType_Gold2, # 仙玉投资4
GoldInvestType_Gold3, # 仙玉投资5
GoldInvestType_Week, # 周卡投资6
GoldInvestType_NewMonth, # 新月卡投资7
) = range(1,7+1)
GoldInvestType_Week, # 周卡投资6(已废弃)
GoldInvestType_NewMonth, # 至尊月卡投资7
GoldInvestType_Month1, # 新30元月卡投资8
) = range(1,8+1)
#可以循环投资的类型
CanRepeatInvestType = [GoldInvestType_Week, GoldInvestType_Month, GoldInvestType_VIP, GoldInvestType_NewMonth]
CanRepeatInvestType = [GoldInvestType_Week, GoldInvestType_Month, GoldInvestType_VIP, GoldInvestType_NewMonth, GoldInvestType_Month1]
#仙玉投资类型
InvestGoldTypeList = [GoldInvestType_Gold, GoldInvestType_Gold2, GoldInvestType_Gold3]
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py
@@ -300,7 +300,7 @@
        PlayerControl.WorldNotify(0, 'JadeInvestmentRadio', [curPlayer.GetName(), investGold])
    elif investType == ChConfig.GoldInvestType_NewMonth:
        PlayerControl.WorldNotify(0, 'MonthInvestment', [curPlayer.GetName()])
    elif investType == ChConfig.GoldInvestType_Week:
    elif investType == ChConfig.GoldInvestType_Month1:
        PlayerControl.WorldNotify(0, 'WeekInPInvestment', [curPlayer.GetName()])
        
    # 更新投资时时间,投资金额,重置回报记录