hxp
2021-06-04 88b30b3ffb54cdece2a8f8a6ecfba4b02e577154
8971 【主干】【BT2】仙玉和灵石增加支持负数
1个文件已修改
5 ■■■■■ 已修改文件
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTCTG.py 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/RemoteQuery/GY_Query_GMTCTG.py
@@ -26,6 +26,7 @@
import ShareDefine
import PlayerControl
import IpyGameDataPY
import IPY_GameWorld
#---------------------------------------------------------------------
#全局变量
#---------------------------------------------------------------------
@@ -47,7 +48,7 @@
    Result = GMCommon.Def_Unknow
    orderId, value, appID, isAddBourseMoney, isResult = packCMDList
    
    goldBefore = curPlayer.GetGold()
    goldBefore = PlayerControl.GetMoneyReal(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Money)
    changeCoinPointBefore = curPlayer.GetChangeCoinPointTotal()
    bourseMoneyBefore = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney)
    
@@ -84,7 +85,7 @@
        GameWorld.GetPlayerManager().GameServer_QueryPlayerResult(0, 0, 0, 'GMToolResult', resultMsg, len(resultMsg))
        return
    
    goldAfter = curPlayer.GetGold()
    goldAfter = PlayerControl.GetMoneyReal(curPlayer, IPY_GameWorld.TYPE_Price_Gold_Money)
    changeCoinPointAfter = curPlayer.GetChangeCoinPointTotal()
    bourseMoneyAfter = PlayerControl.GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney)