From 7eec619011481e229532c693a0ad24e029d45869 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期三, 26 六月 2024 17:59:40 +0800 Subject: [PATCH] 10191 【越南】【主干】【港台】新增多种培养材料副本(增加VIP购买次数特权ID自定义配置支持) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py index 05b356d..a5eff3d 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/GameWorldLogic/FBProcess/FBCommon.py @@ -1987,6 +1987,9 @@ costGold = eval(costGold) costMoneyTypeInfo = IpyGameDataPY.GetFuncEvalCfg('BuyFBCntCost', 2, {}) costType = costMoneyTypeInfo.get(str(mapID), ShareDefine.TYPE_Price_Gold_Paper_Money) + if costGold <= 0: + GameWorld.DebugLog("没有配置购买副本次数消耗货币数! mapID=%s,costType=%s,costGold=%s" % (mapID, costType, costGold)) + return costMoneyList = PlayerControl.HaveMoneyEx(curPlayer, costType, costGold) #GameWorld.Log('costMoneyList=%s,costGold=%s'%(costMoneyList,costGold)) if not costMoneyList: -- Gitblit v1.8.0