From f940b9b6cd31956e6e84d34ea26805248ae38b96 Mon Sep 17 00:00:00 2001 From: xdh <xiefantasy@qq.com> Date: 星期二, 04 九月 2018 22:17:03 +0800 Subject: [PATCH] fix:3268 【后端】仙盟vip6封红包只能发真实的仙玉,不能发内部发的仙玉 --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py | 4 ++-- 1 files changed, 2 insertions(+), 2 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 2606f18..89d0aab 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerControl.py @@ -2727,8 +2727,8 @@ curBourseMoney = GetMoney(curPlayer, ShareDefine.TYPE_Price_BourseMoney) updBourseMoney = curBourseMoney - #当是交易所扣费时,则必定扣除交易额度 - if costType == ChConfig.Def_Cost_BourseBuy: + #当是交易所扣费、钻石红包时,则必定扣除交易额度 + if costType in ChConfig.UnUseInner_CostType: updBourseMoney = max(0, curBourseMoney - price) #其他如果当前金子比交易额度还少,则强制调整交易额度为当前金子数(这种情况一般是非交易所消费的,需要同步扣除交易所可购买额度) elif updPlayerGold < updBourseMoney: -- Gitblit v1.8.0