From 53e739c99be785381cd01044f01dd1df7f0cf832 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期一, 20 八月 2018 19:44:30 +0800
Subject: [PATCH] [2631]灵宠技能

---
 System/Pet/PetAttributeMethods.cs |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/System/Pet/PetAttributeMethods.cs b/System/Pet/PetAttributeMethods.cs
index b5997a0..8515d0e 100644
--- a/System/Pet/PetAttributeMethods.cs
+++ b/System/Pet/PetAttributeMethods.cs
@@ -190,17 +190,8 @@
             UIEffect uie = cell.transform.GetComponent<UIEffect>();
             if (petmodel.ListEffectSkill.Contains(curPetSkillIds[skillIdIndex]))
             {
-                if (!uie.IsPlaying)
-                {
-                    uie.Play();
-                }
-            }
-            else
-            {
-                if (uie.IsPlaying)
-                {
-                    uie.Stop();
-                }
+                uie.Play();
+               
             }
             if (petmodel._DicPetBack.ContainsKey(petInfoConfig.ID))
             {

--
Gitblit v1.8.0