From 1303ec213811950688652ed1873eb188424883fe Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 15 十一月 2021 12:50:32 +0800
Subject: [PATCH] 9351 【BT3】【BT4】【BT5】【bt3_1.102.1】【gt_1.102.1】【主干】副本扫荡后不能完成任务(增加直接给嗨点 主干冲突)

---
 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