From 7632b24f39307abde211c8490391c691cfd0fd1c Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 02 一月 2024 10:54:51 +0800
Subject: [PATCH] 10077 游戏代币方案(10028 【港台】港台0.1折9997代币购买处理)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 5 ++++-
1 files changed, 4 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 0d336b6..b6ceff3 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -266,7 +266,10 @@
ipyData = IpyGameDataPY.GetIpyGameData("OrderInfo", orderInfo, appID)
if not ipyData:
return
- orderCoin = CommFunc.RMBToCoin(ipyData.GetPayRMBNum())
+ if "@9997@" in curPlayer.GetAccID():
+ orderCoin = CommFunc.RMBToCoin(ipyData.GetUsdMoney())
+ else:
+ orderCoin = CommFunc.RMBToCoin(ipyData.GetPayRMBNum())
cPlayerCoin = CPY_PlayerCoinToGold()
cPlayerCoin.useCoin = orderCoin
cPlayerCoin.orderInfo = orderInfo
--
Gitblit v1.8.0