From dfa4555080d7fe179aec06e63d045f244e755884 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 08 八月 2019 17:32:10 +0800
Subject: [PATCH] 0312 脱机分解蓝白装备不判断评分高低
---
ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py | 30 +++++++++++++++++-------------
1 files changed, 17 insertions(+), 13 deletions(-)
diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
index 59d4889..6947e77 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerTJG.py
@@ -526,13 +526,15 @@
if packSpace >= 5:
return
- equipScores = {}
- equipPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
- for i in ChConfig.EquipPlace_Base:
- equipItem = equipPack.GetAt(i)
- if not equipItem or equipItem.IsEmpty():
- continue
- equipScores[equipItem.GetType()] = ItemCommon.GetEquipGearScore(equipItem)
+ #===========================================================================
+ # equipScores = {}
+ # equipPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
+ # for i in ChConfig.EquipPlace_Base:
+ # equipItem = equipPack.GetAt(ItemCommon.GetEquipPackIndex(i))
+ # if not equipItem or equipItem.IsEmpty():
+ # continue
+ # equipScores[equipItem.GetType()] = ItemCommon.GetEquipGearScore(equipItem)
+ #===========================================================================
#GameWorld.DebugLog("equipScores----%s"%equipScores)
@@ -552,12 +554,14 @@
continue
# 本职业需要判断评分高低
- if ItemCommon.CheckJob(curPlayer, curItem):
- if curItem.GetType() not in equipScores:
- # 没有评分说明装备位还是空的 不能吞噬
- continue
- if ItemCommon.GetEquipGearScore(curItem) > equipScores[curItem.GetType()]:
- continue
+ #=======================================================================
+ # if ItemCommon.CheckJob(curPlayer, curItem):
+ # if curItem.GetType() not in equipScores:
+ # # 没有评分说明装备位还是空的 不能吞噬
+ # continue
+ # if ItemCommon.GetEquipGearScore(curItem) > equipScores[curItem.GetType()]:
+ # continue
+ #=======================================================================
eatIndexList.append(i)
eatItemIDList.append(curItem.GetItemTypeID())
--
Gitblit v1.8.0