From 2a1039feedbd432ddadb8bc7d01bf1a173b77142 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 31 一月 2019 14:09:50 +0800
Subject: [PATCH] 6087 【后端】【1.5.200】春节红包雨活动(增加配置未用完的次数过天可否累加)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
index 1f0c471..d0b6f3d 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py
@@ -803,7 +803,7 @@
     gameData = GameWorld.GetGameData()
 
     effIndexList = [1, 2, 3, 4] # 第一个效果值是类型等级效果值,非属性效果值
-  
+    gemLVList = []
     for holeIndex in Operate_EquipStone.GetAllEquipPlaceHoleIndex():
         
         curGemID = Operate_EquipStone.GetEquipIndexStoneIDAndIsBand(curPlayer, equipIndex, holeIndex)[0]
@@ -818,8 +818,10 @@
             effectID, effectValue = curGemEffect.GetEffectID(), curGemEffect.GetEffectValue(0)
             if effectID and effectValue:
                 PlayerControl.CalcAttrDict_Type(effectID, effectValue, allAttrList)
-
-    return
+        gemEffect = curGem.GetEffectByIndex(0)
+        gemLV = gemEffect.GetEffectValue(1)
+        gemLVList.append(gemLV)
+    return gemLVList
 
 #---------------------------------------------------------------------
 ## 装备添加Buff 

--
Gitblit v1.8.0