From c39a6b4791291e59ceb52bc1df964115bc786071 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 31 一月 2019 20:44:41 +0800
Subject: [PATCH] 6116 子 【开发】【1.6】当玩家攻击无敌状态的目标时候进入cd / 【后端】【1.6】攻击无敌目标技能进入cd

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Item/ChEquip.py |   33 +++++----------------------------
 1 files changed, 5 insertions(+), 28 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 1121a98..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 
@@ -1052,31 +1054,6 @@
         
         suiteLVList.append(suiteLV)
     return suiteLVList
-
-## 获取玩家装备预览信息
-def GetPlayerEquipView(curPlayer):
-    if not curPlayer:
-        return []
-    
-    playerID = curPlayer.GetPlayerID()
-    playerEquipList = []
-    
-    playerEquip = curPlayer.GetItemManager().GetPack(IPY_GameWorld.rptEquip)
-    #玩家当前可装备的装备类型
-    for equipIndex in xrange(0, playerEquip.GetCount()):
-        
-        if equipIndex not in ShareDefine.RoleEquipType:
-            continue
-        
-        curEquip = playerEquip.GetAt(equipIndex)
-        if curEquip.IsEmpty():
-            continue
-        
-        playerEquipList.append([curEquip.GetItemTypeID(), equipIndex, 0, 0])
-                                #curEquip.GetItemStarLV(), 0])
-    
-    #GameWorld.DebugLog("玩家装备信息:%s" % str(playerEquipList), playerID)
-    return playerEquipList
 
 
 #// A5 03 全身属性激活 #tagCMActiveAllEquipAttr

--
Gitblit v1.8.0