From 303a03f56c01092ce7a7194e994dea2089b4728d Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期四, 11 七月 2019 14:24:45 +0800
Subject: [PATCH] 7982 【后端】【主干】渡劫条件调整

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
index 559ea4f..6fcc029 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -131,8 +131,8 @@
         return
     #装备判断
     needEquip = realmIpyData.GetNeedEquip()
-    if needEquip and len(needEquip) == 3:
-        classLV, star, isSuite = needEquip
+    if needEquip and len(needEquip) == 4:
+        classLV, star, isSuite, color = needEquip
         equipPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
         for place in ChConfig.EquipPlace_Base:
             ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classLV, place)
@@ -147,6 +147,8 @@
                 return
             if isSuite and not curEquip.GetSuiteID():
                 return
+            if curEquip.GetItemColor() < color:
+                return
     
     needItemID = realmIpyData.GetNeedItemID()
     needItemCount = realmIpyData.GetNeedItemCnt()

--
Gitblit v1.8.0