From eb75682a1fd5f23b6e5cca8cf3bcb6978c9b19cc Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期四, 13 六月 2019 10:16:49 +0800 Subject: [PATCH] 7203 周卡月卡广播 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py index 6d68dfd..ae2e1f0 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerGoldInvest.py @@ -219,7 +219,11 @@ PlayerControl.WorldNotify(0, 'VIPInvestmentRadio', [curPlayer.GetName()]) elif investType in ChConfig.InvestGoldTypeList: PlayerControl.WorldNotify(0, 'JadeInvestmentRadio', [curPlayer.GetName(), investGold]) - + elif investType == ChConfig.GoldInvestType_Month: + PlayerControl.WorldNotify(0, 'MonthInvestment', [curPlayer.GetName()]) + elif investType == ChConfig.GoldInvestType_Week: + PlayerControl.WorldNotify(0, 'WeekInPInvestment', [curPlayer.GetName()]) + # 更新投资时时间,投资金额,重置回报记录 curTime = GameWorld.GetCurrentTime() curTimeNum = GameWorld.ChangeTimeStrToNum(str(curTime)[:10], ChConfig.TYPE_Time_Format_Day) -- Gitblit v1.8.0