From 65b49ab105ac58784143f0b0892473a9366dfb2b Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 04 十一月 2024 10:44:47 +0800
Subject: [PATCH] 10287 【英文】1折活动(修复CTG命令无法充值问题)
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py | 4 +++-
1 files changed, 3 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 708ba54..ba1493a 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -405,8 +405,10 @@
if not ipyData:
return
+ discountState = PlayerSuperDiscount.GetSuperDiscountState(curPlayer)
+ usdMoney = ipyData.GetUsdMoney() if discountState else ipyData.GetPayRMBNum()
cPlayerCoin = CPY_PlayerCoinToGold()
- cPlayerCoin.useCoin = CommFunc.RMBToCoin(ipyData.GetUsdMoney(), 100)
+ cPlayerCoin.useCoin = CommFunc.RMBToCoin(usdMoney, 100)
cPlayerCoin.orderInfo = orderInfo
cPlayerCoin.appID = appID
cPlayerCoin.isAddBourseMoney = isAddBourseMoney
--
Gitblit v1.8.0