From 71ea04a0d2f445b3b3947175bacc6829a5996af9 Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期一, 25 三月 2019 21:26:48 +0800
Subject: [PATCH] 6385 【后端】【2.0】五行灵根开发(修复洗点报错 )

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |   11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
index 6996a15..7581367 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -1883,9 +1883,9 @@
         if not PlayerGreatMaster.GetGreatMasterFreeSkillPoint(curPlayer):
             return False
     #诛仙技能学习判断
-    if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_ZhuXian:
-        if not EquipZhuXian.CheckLearnZhuXianSkill(curPlayer, curSkillTypeID):
-            return False
+    #if upSkill.GetFuncType() == ChConfig.Def_SkillFuncType_ZhuXian:
+    #    if not EquipZhuXian.CheckLearnZhuXianSkill(curPlayer, curSkillTypeID):
+    #        return False
         
     #经验检测
     skillLvUpNeedExp = upSkill.GetLVUpCostExp()
@@ -2728,7 +2728,8 @@
         if curPlayerSkill.GetFuncType() not in [ChConfig.Def_SkillFuncType_FbSkill,
                                             ChConfig.Def_SkillFuncType_FbSPSkill,
                                             ChConfig.Def_SkillFuncType_GiftSkill,
-                                            ChConfig.Def_SkillFuncType_GWSkill]:
+                                            ChConfig.Def_SkillFuncType_GWSkill,
+                                            ChConfig.Def_SkillFuncType_ZhuXian]:
             # 根据技能情况调整
             continue
         
@@ -3437,7 +3438,7 @@
     
     return curSkill.GetExAttr2()
 
-# 只有在指定地图才能生效的buff效果
+# 只有在指定地图才能生效的buff效果,或者指定地图可被动触发
 def GetAttrMapID(curSkill):
     return curSkill.GetExAttr3()
 

--
Gitblit v1.8.0