From 8ed91530c84f02ad8e4272146f5d5468b626c908 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期二, 02 二月 2021 16:09:42 +0800 Subject: [PATCH] 4920 【主干】【BT】GM后台优化(使用物品获得仙玉没有流向明细的问题;物品直接转化货币流向明细记录; 同步主干); --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 3 ++- 1 files changed, 2 insertions(+), 1 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 e55f5da..e479c6f 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py @@ -216,7 +216,7 @@ DoCTGLogic(curPlayer, CoinType_Gold, orderCoin, addGold, prizeGold, giveItemList, isAddBourseMoney, eventName, addDRDict, coinExp=coinExp) return True -def PlayerItemCTG(curPlayer, orderRMB, eventName, isAddBourseMoney): +def PlayerItemCTG(curPlayer, orderRMB, eventName, isAddBourseMoney, addDataDict={}): ## 使用赠送的物品兑换点券,一般用于bt版 # 20210120 港台主干版暂废弃 # prizeGold = 0 @@ -224,6 +224,7 @@ # orderCoin = CommFunc.RMBToCoin(orderRMB) # 单位,分 # addGold = orderRMB * GetCoinRate() # addDRDict = {"orderCoin":orderCoin, "eventName":eventName} +# addDRDict.update(addDataDict) # DoCTGLogic(curPlayer, CoinType_Item, orderCoin, addGold, prizeGold, giveItemList, isAddBourseMoney, eventName, addDRDict) return -- Gitblit v1.8.0