From dcc91df4e4090f84da0bf7027de4550a0315c184 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 21 十二月 2021 16:52:28 +0800
Subject: [PATCH] 1111 【后端】修复组队报错;修复购买副本次数报错;

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_510.py |   25 +++++++++++++------------
 1 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_510.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_510.py
index 9effe9e..de3d739 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_510.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/GameBuffs/Buff_510.py
@@ -47,17 +47,18 @@
     return ChConfig.TYPE_Linear
 
 def GetHorseAttrByType(curPlayer, horseID, attrType):
-    horseLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Horser_LV % horseID, 0, ChConfig.Def_PDictType_Horse)
-    if not horseLV:
-        return 0
-    horseUpData = IpyGameDataPY.GetIpyGameData("HorseUp", horseID, horseLV)
-    if not horseUpData:
-        return 0
-    attrTypeList = horseUpData.GetAttrType()
-    attrValueList = horseUpData.GetAttrValue()
-    if attrType not in attrTypeList:
-        return 0
-    
-    return attrValueList[attrTypeList.index(attrType)]
+    return 0
+#    horseLV = curPlayer.NomalDictGetProperty(ChConfig.Def_PDict_Horser_LV % horseID, 0, ChConfig.Def_PDictType_Horse)
+#    if not horseLV:
+#        return 0
+#    horseUpData = IpyGameDataPY.GetIpyGameData("HorseUp", horseID, horseLV)
+#    if not horseUpData:
+#        return 0
+#    attrTypeList = horseUpData.GetAttrType()
+#    attrValueList = horseUpData.GetAttrValue()
+#    if attrType not in attrTypeList:
+#        return 0
+#    
+#    return attrValueList[attrTypeList.index(attrType)]
 
 

--
Gitblit v1.8.0