From 6eb8ce81a683bf5a3024877fdcd4d8c95a8c87b5 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 29 六月 2023 17:15:43 +0800
Subject: [PATCH] 9818 【BT10】新增古宝特效效果

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
index 9b81661..2cfa3b2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Player/PlayerCoat.py
@@ -152,6 +152,19 @@
     Sync_ClothesCoatSkinInfo(curPlayer, coatID)
     return
 
+def GetCoatQualityLVInfo(curPlayer):
+    costQualityLVDict = {}
+    ipyMgr = IpyGameDataPY.IPY_Data()
+    for i in xrange(ipyMgr.GetCoatCount()):
+        ipyData = ipyMgr.GetCoatByIndex(i)
+        coatID = ipyData.GetCoatID()
+        costQuality = ipyData.GetCostQuality()
+        skinLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_ClothesSkinLV % coatID)
+        if not skinLV:
+            continue
+        costQualityLVDict[costQuality] = costQualityLVDict.get(costQuality, 0) + skinLV
+    return costQualityLVDict
+
 ## 计算时装属性
 #  @param curPlayer 玩家
 #  @param allAttrList 属性列表

--
Gitblit v1.8.0