From ebca0075cd76cf4476c56b799e6f044b29a27801 Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期二, 25 六月 2019 01:20:55 +0800
Subject: [PATCH] 382 技能刷新CD问题修复

---
 Fight/Actor/Skill/Skill.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Fight/Actor/Skill/Skill.cs b/Fight/Actor/Skill/Skill.cs
index ce493b8..acfd486 100644
--- a/Fight/Actor/Skill/Skill.cs
+++ b/Fight/Actor/Skill/Skill.cs
@@ -215,9 +215,12 @@
         if (skillInfo.config != null)
         {
             cd = skillInfo.config.CoolDownTime * Constants.F_GAMMA;
-            if (RefreshCD != null)
+            if (OwnerID == PlayerDatas.Instance.PlayerId)
             {
-                RefreshCD(id, cd, cd);
+                if (RefreshCD != null)
+                {
+                    RefreshCD(id, cd, cd);
+                }
             }
         }
     }

--
Gitblit v1.8.0