From adb0c7de6eb3e74ea31dc4ec3be3c685656b2f31 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 01 十一月 2024 17:19:55 +0800
Subject: [PATCH] 10287 【英文】1折活动(代金券消费根据至尊卡状态消耗原价或折扣价)
---
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 cc4026c..708ba54 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoin.py
@@ -306,8 +306,10 @@
ipyData = IpyGameDataPY.GetIpyGameData("OrderInfo", orderInfo, appID)
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.orderID = ""
--
Gitblit v1.8.0