From aecf8422a914350ccbf779178a1fdc1acc8971c7 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期一, 11 三月 2019 16:27:41 +0800
Subject: [PATCH] 6341 【后端】【2.0】境界改版开发单
---
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 0490347..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, isBind,
- [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, isBind,
- [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, itemIsBind, [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