From 9a2fd2a8b061b3c876be62d397b939daccaeb69a Mon Sep 17 00:00:00 2001
From: hxp <ale99527@vip.qq.com>
Date: 星期二, 26 三月 2019 11:51:30 +0800
Subject: [PATCH] 3138 【主干】【BUG】拍卖行获得仙玉数值错误(最少收税1) 其他bug: 1. 修复一组拍品个数大于1时无法竞价、一口价的bug 2. 修复竞价后短时间内无法再竞价的bug,会提示有人正在竞价中(正常会提示该情况的一般只有两个人同时点击竞价的时候有可能出现)

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |   14 +++++++++-----
 1 files changed, 9 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 1f5de80..7581367 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -1836,8 +1836,11 @@
     
     #升级技能CD直接冷却
     curSkill.SetRemainTime(0)
+    learnSkillNotifyDict = IpyGameDataPY.GetFuncEvalCfg("SPSkillType", 3, {})
     if curSkill.GetFuncType() == ChConfig.Def_SkillFuncType_HorseSkill:
         PlayerControl.WorldNotify(0, 'GetMountSkill', [curPlayer.GetName(), curSkillID])
+    elif skillTypeID in learnSkillNotifyDict:
+        PlayerControl.WorldNotify(0, learnSkillNotifyDict[skillTypeID], [curPlayer.GetName(), curSkillID])        
     else:
         #通知技能已升级成功 GeRen_admin_31379
         PlayerControl.NotifyCode(curPlayer, "GeRen_admin_31379", [curSkillID, curSkill.GetSkillLV()])
@@ -1880,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()
@@ -2725,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
         
@@ -3434,7 +3438,7 @@
     
     return curSkill.GetExAttr2()
 
-# 只有在指定地图才能生效的buff效果
+# 只有在指定地图才能生效的buff效果,或者指定地图可被动触发
 def GetAttrMapID(curSkill):
     return curSkill.GetExAttr3()
 

--
Gitblit v1.8.0