From 3128b603606057b8b6ddbaf6a86e4493b4ce292a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 17 十二月 2019 18:22:39 +0800
Subject: [PATCH] 8358 【主干】【后端】坐骑修改

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_511.py |   49 +++++++++++++++++++++++++------------------------
 1 files changed, 25 insertions(+), 24 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_511.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_511.py
index cf1b639..da20ea2 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_511.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_511.py
@@ -47,28 +47,29 @@
     return ChConfig.TYPE_Linear
 
 def GetHorseAttrByQuality(curPlayer, quality, attrType):
-    value = 0
-    ipyDataMgr = IpyGameDataPY.IPY_Data()
-    for i in xrange(ipyDataMgr.GetHorseCount()):
-        ipyData = ipyDataMgr.GetHorseByIndex(i)
-        horseID = ipyData.GetHorseID()
-        if ipyData.GetQuality() != quality:
-            # 非此品质排除
-            continue
-        lv = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Horser_LV % horseID, 0, ChConfig.Def_PDictType_Horse)
-        if not lv:
-            continue
-    
-        horseUpData = IpyGameDataPY.GetIpyGameData("HorseUp", horseID, lv)
-        if not horseUpData:
-            continue
-        
-        attrTypeList = horseUpData.GetAttrType()
-        attrValueList = horseUpData.GetAttrValue()
-        if attrType not in attrTypeList:
-            continue
-        
-        value += attrValueList[attrTypeList.index(attrType)]
-
-    return value
+    return 0
+#    value = 0
+#    ipyDataMgr = IpyGameDataPY.IPY_Data()
+#    for i in xrange(ipyDataMgr.GetHorseCount()):
+#        ipyData = ipyDataMgr.GetHorseByIndex(i)
+#        horseID = ipyData.GetHorseID()
+#        if ipyData.GetQuality() != quality:
+#            # 非此品质排除
+#            continue
+#        lv = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Horser_LV % horseID, 0, ChConfig.Def_PDictType_Horse)
+#        if not lv:
+#            continue
+#    
+#        horseUpData = IpyGameDataPY.GetIpyGameData("HorseUp", horseID, lv)
+#        if not horseUpData:
+#            continue
+#        
+#        attrTypeList = horseUpData.GetAttrType()
+#        attrValueList = horseUpData.GetAttrValue()
+#        if attrType not in attrTypeList:
+#            continue
+#        
+#        value += attrValueList[attrTypeList.index(attrType)]
+#
+#    return value
 

--
Gitblit v1.8.0