From 30a717db9c6986126a1ca66c2c4565738cfd2099 Mon Sep 17 00:00:00 2001 From: hxp <ale99527@vip.qq.com> Date: 星期四, 07 三月 2019 19:23:04 +0800 Subject: [PATCH] 6332 【后端】【2.0】主要是拍品相关规则调整及背包优化(GivePlayerItem 删除无用参数) --- ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py | 8 +++----- 1 files changed, 3 insertions(+), 5 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 a098188..4053e20 100644 --- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py +++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTeHui.py @@ -551,8 +551,7 @@ # 给物品 for itemID, itemCnt, isBind in itemList: - isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, - [IPY_GameWorld.rptItem], True) + isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem]) if isPutIn: PlayerControl.NotifyCode(curPlayer, "ObtainRes01", [itemID, itemCnt]) @@ -639,8 +638,7 @@ itemID, itemCnt, isBind = itemInfo[job] else: itemID, itemCnt, isBind = itemInfo - isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, - [IPY_GameWorld.rptItem], True) + isPutIn = ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem]) if isPutIn: PlayerControl.NotifyCode(curPlayer, "ObtainRes01", [itemID, itemCnt]) @@ -823,7 +821,7 @@ itemInfoList = actionAwardInfo[CostProfit_ItemList] for itemId, itemNum, itemIsBind in itemInfoList: - ItemControler.GivePlayerItem(curPlayer, itemId, itemNum, 0, [IPY_GameWorld.rptItem], True) + ItemControler.GivePlayerItem(curPlayer, itemId, itemNum, 0, [IPY_GameWorld.rptItem]) addDataDict = {"actionId":actionId, "needCostGold":needGoldNum, "costGold":curGoldNum, "itemInfoList":str(itemInfoList)} DataRecordPack.DR_FuncGiveItem(curPlayer, "CostProfitAward", addDataDict) -- Gitblit v1.8.0