From 5880a05cd7028b88baee029a93a4303d136a2db0 Mon Sep 17 00:00:00 2001 From: hch <305670599@qq.com> Date: 星期三, 28 八月 2019 20:34:45 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.0.87:10010/r/SnxxServerCode --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py index f6e8aba..f9e530f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py @@ -115,6 +115,8 @@ def OnDay(curPlayer): + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TodayCTGCoinTotal, 0) + syncRecordIDList = [] ipyDataMgr = IpyGameDataPY.IPY_Data() for i in xrange(ipyDataMgr.GetCTGCount()): @@ -301,10 +303,13 @@ curPlayer.SetChangeCoinPointTotal(changeCoinPointBefore + orderCoin, 0) PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_FirstGoldTry, 0) + todayCTGCoinTotal = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_TodayCTGCoinTotal) + orderCoin + PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_TodayCTGCoinTotal, todayCTGCoinTotal) + goldAfter = curPlayer.GetGold() changeCoinPointAfter = curPlayer.GetChangeCoinPointTotal() bourseMoneyAfter = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney) - addDRDict.update({"gold":[goldBefore, goldAfter], "changeCoinPoint":[changeCoinPointBefore, changeCoinPointAfter], + addDRDict.update({"gold":[goldBefore, goldAfter], "changeCoinPoint":[changeCoinPointBefore, changeCoinPointAfter], "todayCTGCoinTotal":todayCTGCoinTotal, "bourseMoney":[bourseMoneyBefore, bourseMoneyAfter], "addGold":addGold, "prizeGold":prizeGold, "giveItemList":giveItemList}) DataRecordPack.DR_CTGOK(curPlayer, addDRDict) @@ -316,7 +321,7 @@ PlayerGoldGift.DayChargeRedPackAward(curPlayer) #累积充值X元 PlayerActTotalRecharge.AddTotalRechargeGold(curPlayer, orderCoin/100) - PlayerFairyCeremony.AddFCCostGold(curPlayer, orderCoin/100) + PlayerFairyCeremony.AddFCCTGRMB(curPlayer, orderCoin/100) PlayerNewFairyCeremony.AddFCCostGold(curPlayer, orderCoin/100) #开服活动 #OpenServerCampaign.AddOpenServerCampaignRecordData(curPlayer, ShareDefine.Def_Campaign_Type_Recharge, orderCoin) -- Gitblit v1.8.0