From 06af11e5d1bb4c8462ead020ccdb7431f9647754 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 07 三月 2019 14:45:30 +0800 Subject: [PATCH] 6332 【后端】【2.0】主要是拍品相关规则调整及背包优化(GivePlayerItem 默认都给非拍品) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py index 0490347..a098188 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py @@ -551,7 +551,7 @@ # 给物品 for itemID, itemCnt, isBind in itemList: - isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, + isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem], True) if isPutIn: PlayerControl.NotifyCode(curPlayer, "ObtainRes01", [itemID, itemCnt]) @@ -639,7 +639,7 @@ itemID, itemCnt, isBind = itemInfo[job] else: itemID, itemCnt, isBind = itemInfo - isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind, + isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem], True) if isPutIn: PlayerControl.NotifyCode(curPlayer, "ObtainRes01", [itemID, itemCnt]) @@ -823,7 +823,7 @@ itemInfoList = actionAwardInfo[CostProfit_ItemList] for itemId, itemNum, itemIsBind in itemInfoList: - ItemControler.GivePlayerItem(curPlayer, itemId, itemNum, itemIsBind, [IPY_GameWorld.rptItem], True) + ItemControler.GivePlayerItem(curPlayer, itemId, itemNum, 0, [IPY_GameWorld.rptItem], True) addDataDict = {"actionId":actionId, "needCostGold":needGoldNum, "costGold":curGoldNum, "itemInfoList":str(itemInfoList)} DataRecordPack.DR_FuncGiveItem(curPlayer, "CostProfitAward", addDataDict) -- Gitblit v1.8.0