From 4355dca59d05b3535ad034759710c2139f317622 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 07 九月 2018 14:35:06 +0800
Subject: [PATCH] fix:3334 子 新增主角名字屏幕列表

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py |    5 +++++
 1 files changed, 5 insertions(+), 0 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 d4e1e9b..08ecc90 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerMagicWeapon.py
@@ -668,6 +668,7 @@
     elif curType == 2:
         #穿戴三阶橙色1星或四阶紫色1星以上头盔
         playerEquip = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
+        SamboSpecialUnlock = IpyGameDataPY.GetFuncEvalCfg('SamboSpecialUnlock')
         for equipIndex in xrange(playerEquip.GetCount()):
             curEquip = playerEquip.GetAt(equipIndex)
             if curEquip.IsEmpty():
@@ -675,7 +676,11 @@
             curClassLV = ItemCommon.GetItemClassLV(curEquip)
             itemColor = curEquip.GetItemColor()
             itemQuality = curEquip.GetItemQuality()
+            itemID = curEquip.GetItemTypeID()
             for classlv, color, star, place in conditionList:
+                if equipIndex is place and itemID in SamboSpecialUnlock:
+                    cnt = 1
+                    break
                 if equipIndex is place and curClassLV >= classlv and itemColor >= color and itemQuality >= star:
                     cnt = 1
                     break

--
Gitblit v1.8.0