From ec83ddbb9c0ccd9740464f69ade4a8485f9dd9e8 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期三, 10 七月 2019 13:52:32 +0800
Subject: [PATCH] 7982 【后端】【主干】渡劫条件调整

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py |    7 ++++---
 1 files changed, 4 insertions(+), 3 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 dadc639..559ea4f 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerPrestigeSys.py
@@ -26,7 +26,7 @@
 import GameWorld
 import ChConfig
 import PlayerSuccess
-import OpenServerCampaign
+import ChEquip
 import PlayerBillboard
 import EventShell
 import DataRecordPack
@@ -132,7 +132,7 @@
     #装备判断
     needEquip = realmIpyData.GetNeedEquip()
     if needEquip and len(needEquip) == 3:
-        classLV, color, isSuite = needEquip
+        classLV, star, isSuite = needEquip
         equipPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
         for place in ChConfig.EquipPlace_Base:
             ipyData = IpyGameDataPY.GetIpyGameData('EquipPlaceIndexMap', classLV, place)
@@ -142,7 +142,8 @@
             curEquip = equipPack.GetAt(gridIndex)
             if not ItemCommon.CheckItemCanUse(curEquip):
                 return
-            if curEquip.GetItemColor() < color:
+            curPartStar = ChEquip.GetEquipPartStar(curPlayer, gridIndex)
+            if curPartStar < star:
                 return
             if isSuite and not curEquip.GetSuiteID():
                 return

--
Gitblit v1.8.0