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/PlayerProduce.py |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerProduce.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerProduce.py
index 62bcd29..3616f74 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerProduce.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerProduce.py
@@ -217,8 +217,7 @@
         return False
     
     #给玩家物品
-    if not ItemControler.GivePlayerItem(curPlayer, produceID, produceCnt, 0, 
-                                                                     [IPY_GameWorld.rptItem]):
+    if not ItemControler.GivePlayerItem(curPlayer, produceID, produceCnt, 0, [IPY_GameWorld.rptItem]):
         #背包空间不足!
         PlayerControl.NotifyCode(curPlayer, "Collect_lhs_31379")
         return False
@@ -393,8 +392,7 @@
             
         for proItemID, proCnt in proIemCntDict.items():
             # 给合成物品不成功
-            if not ItemControler.GivePlayerItem(curPlayer, proItemID, proCnt, 0, 
-                                                [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere], True):
+            if not ItemControler.GivePlayerItem(curPlayer, proItemID, proCnt, 0, [IPY_GameWorld.rptItem, IPY_GameWorld.rptAnyWhere]):
                 #背包空间不足!
                 PlayerControl.NotifyCode(curPlayer, "Collect_lhs_31379")        
                 break

--
Gitblit v1.8.0