From f0f101d1d778e26a2e3ecd368c90c8f52a7ea011 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 13 六月 2019 11:11:44 +0800
Subject: [PATCH] 7220 【后端】【2.0】灵器开发1.0版(删除绝版属性,原绝版属性转移到灵器属性)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStar.py |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStar.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStar.py
index 6623a9b..a28f8ec 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStar.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Event/EventSrc/Operate_EquipStar.py
@@ -92,7 +92,11 @@
         playControl.RefreshPlayerAttrState()
   
         if updPartStar in IpyGameDataPY.GetFuncEvalCfg('EquipPartStarNotify'):
-            PlayerControl.WorldNotify(0, "StarLevelUp", [curPlayer.GetPlayerName(), curEquip.GetItemTypeID(), updPartStar])
+            itemID = curEquip.GetItemTypeID()
+            userData = curEquip.GetUserData()
+            guid = ItemCommon.CacheNotifyEquipDetailInfo(curPlayer, curEquip)
+            msgParamList = [curPlayer.GetPlayerName(), itemID, userData, guid, updPartStar]
+            PlayerControl.WorldNotify(0, "StarLevelUp", msgParamList)
         EventShell.EventRespons_EquipStarUp(curPlayer)
     return
      
@@ -113,6 +117,7 @@
         return result
     costEquipPlaceList = ipyData.GetCostEquipPlace()
     costEquipColorList = ipyData.GetCostEquipColor()
+    isJobLimit = ipyData.GetIsJobLimit()
     suitTotalRate = ipyData.GetSuitTotalRate()
     itemPack = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptItem)
     delEquipIndexList = []
@@ -134,6 +139,8 @@
                 return result
             if costEquip.GetEquipPlace() not in costEquipPlaceList:
                 return result
+            if isJobLimit and not ItemCommon.CheckJob(curPlayer, costEquip):
+                return result
             delEquipIndexList.append(index)
             isSuite = costEquip.GetSuiteID()
             addRate = singleSuitRate if isSuite else singleSuitRate / 2

--
Gitblit v1.8.0