From 794d31c3d9615701ef8f04a199417737ddf60bd7 Mon Sep 17 00:00:00 2001
From: xdh <xiefantasy@qq.com>
Date: 星期五, 11 一月 2019 09:59:57 +0800
Subject: [PATCH] 5762 子 【开发】【1.5】新增300级后的成长基金 / 【后端】【1.5】新增300级后的成长基金

---
 ServerPython/ZoneServerGroup/map1_8G/MapServer/MapServerData/Script/Skill/SkillShell.py |    5 ++++-
 1 files changed, 4 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..af21d9c 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:检查玩家的魔法值是否够用这个技能
@@ -887,6 +888,7 @@
     Def_Attack_DelayTick = 5000
     # tick 误差过大则过滤
     if abs(clientTick - tick) > Def_Attack_DelayTick:
+        curPlayer.Sync_ClientTick()
         GameWorld.DebugLog("tick 误差过大则过滤 > 5000")
         return False
     
@@ -1063,6 +1065,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