少年修仙传客户端代码仓库
client_Hale
2019-04-11 852d0ae1e09bc83215d73cdd1387e30b9191ea21
Fight/Actor/State/SMB/STM_BaseAttack.cs
@@ -125,6 +125,8 @@
            if (owner.ServerInstID == PlayerDatas.Instance.PlayerId)
            {
                GA_Hero.CallOnStateEnter(animator.GetCurrentAnimatorClipInfo(0).Length);
                if (owner.State == E_ActorState.AutoRun)
                {
                    owner.StopPathFind();
@@ -153,6 +155,8 @@
                {
                    HeadUpSkillName.Popup(cacheSkillID, owner.Root.position, CameraController.Instance.CameraObject);
                }
            }
            if (_player is GA_Player)
@@ -247,6 +251,11 @@
        if (owner.ActorType == GameObjType.gotPlayer)
        {
            if (owner is GA_Hero)
            {
                GA_Hero.CallOnStateEnd();
            }
            GActorPlayerBase _player = owner as GActorPlayerBase;
            if (_player != null)
            {