From aa54d890fac1eea5b8e72aa5682a7414456a74cf Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 20 十二月 2018 16:34:24 +0800
Subject: [PATCH] 2658 【BUG】【1.3.100】【1.4】冰晶矿脉石头怪副本龙魂杏黄旗技能出错

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |    4 +++-
 1 files changed, 3 insertions(+), 1 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 2984c64..bd403bc 100644
--- a/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
+++ b/ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py
@@ -247,7 +247,8 @@
     #还在冷却时间内无法释放
     if SkillCommon.RefreshSkillRemainTime(playerSkill, tick) != 0:
         PlayerControl.NotifyCode(curPlayer, "UseSkillCDLimit")
-        AttackFailNotify(curPlayer, curSkill, ChConfig.SkillFail_CD)
+        #AttackFailNotify(curPlayer, curSkill, ChConfig.SkillFail_CD)
+        playerSkill.Sync_Skill()
         return False
 
     #5:检查玩家的魔法值是否够用这个技能
@@ -1063,6 +1064,7 @@
 def AttackFailNotify(curPlayer, curSkill, reason=0):
     sendPack = ChPyNetSendPack.tagMCAttackFail()
     sendPack.SkillID = curSkill.GetSkillID()
+    sendPack.Reason = reason
     NetPackCommon.SendFakePack(curPlayer, sendPack)
 #--------------------------玩家使用技能
 #===============================================================================

--
Gitblit v1.8.0