From 6ccc82cff0bc5ecd2734253d4c5ef1ae2bb748da Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期四, 17 九月 2020 12:24:13 +0800
Subject: [PATCH] 8483 【后端】【主干】【changwei】【bt】协助方和被协助方任何模式不会互相造成伤害(优化协助同一玩家的情况)

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