From a49287c1591671d95952114f04db742c1507de13 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 20 八月 2024 15:01:53 +0800
Subject: [PATCH] 10223 10238 10241 【越南】【砍树】【主干】【港台】仙匣秘境、骑宠养成、古宝养成增加可配置是否关联跨服活动;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_521.py |   43 ++++++++++++++++++++++---------------------
 1 files changed, 22 insertions(+), 21 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_521.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_521.py
index c5c3cf2..7098fe0 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_521.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_521.py
@@ -49,25 +49,26 @@
     return ChConfig.TYPE_Linear
 
 def GetHorseAttrByQuality(curPlayer, attrType):
-    value = 0
-    ipyDataMgr = IpyGameDataPY.IPY_Data()
-    for i in xrange(ipyDataMgr.GetHorseCount()):
-        ipyData = ipyDataMgr.GetHorseByIndex(i)
-        horseID = ipyData.GetHorseID()
-        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()
+#        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