From eedcc5284c871faf3f9307656534900ec7d87940 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期五, 25 十月 2024 14:08:53 +0800
Subject: [PATCH] 10284 【英文】【tqxbqy】获得、扣除代币系统提示除以100

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
index b7938cb..931d175 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py
@@ -3290,7 +3290,10 @@
     
     #通知客户端失去金钱
     if isNotify:
-        NotifyCode(curPlayer, "LostMoney", [type_Price, lostMoney])
+        if type_Price == ShareDefine.TYPE_Price_PayCoin:
+            NotifyCode(curPlayer, "LostMoney", [type_Price, lostMoney/100])
+        else:
+            NotifyCode(curPlayer, "LostMoney", [type_Price, lostMoney])
     return True
 
 ## 付款以后后续操作
@@ -3564,8 +3567,10 @@
         
     if isSysHint and priceType != ShareDefine.TYPE_Price_BourseMoney:
         #通知客户端得到金钱
-        NotifyCode(curPlayer, "GetMoney", [priceType, value])
-        
+        if priceType == ShareDefine.TYPE_Price_PayCoin:
+            NotifyCode(curPlayer, "GetMoney", [priceType, value/100])
+        else:
+            NotifyCode(curPlayer, "GetMoney", [priceType, value])
     __GiveMoneyAfter(curPlayer, priceType, value, giveType, addDataDict)
     
     return True

--
Gitblit v1.8.0