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

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py
index 3e53455..440486d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py
@@ -150,7 +150,7 @@
         if 1 > packSpace:
             PlayerControl.SendMailByKey('TreasureWakeUp', [curPlayer.GetID()], [itemAward])
         else:
-            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, isBind,
+            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0,
                                              [IPY_GameWorld.rptItem], True, showSysInfo=True, event=["MWAward", False, {"mwID":mwID}])
     activeMWID = upIpyData.GetActiveMWID()
     if activeMWID == mwID:
@@ -507,7 +507,7 @@
     # 给物品
     if awardItemList:
         for itemID, itemCnt in awardItemList:
-            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 1, [IPY_GameWorld.rptItem], True)
+            ItemControler.GivePlayerItem(curPlayer, itemID, itemCnt, 0, [IPY_GameWorld.rptItem], True)
        
     #给钱
     for moneyType, value in ipyData.GetMoney():
@@ -727,7 +727,7 @@
             return
         PlayerControl.NomalDictSetProperty(curPlayer, ChConfig.Def_PDict_MWSoulGotItemState % privilege, 1)
         for itemid, cnt, isBind in itemList:
-            ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), isBind,
+            ItemControler.GivePlayerItem(curPlayer, int(itemid), int(cnt), 0,
                                          [IPY_GameWorld.rptItem], True, showSysInfo=True, event=["MWSoulAward", False, {"privilege":privilege}])
     
     #通知

--
Gitblit v1.8.0