| | |
| | | if (data.BuffType == (int)E_BuffType.bfActionBuff)
|
| | | {
|
| | | GActorPlayerBase _player = _target as GActorPlayerBase;
|
| | |
|
| | | if (!CanMove())
|
| | | if (_player != null)
|
| | | {
|
| | | if (_target is GActorPlayerBase)
|
| | | if (!CanMove())
|
| | | {
|
| | | _player = _target as GActorPlayerBase;
|
| | | _player.OnHorse(0);
|
| | | _player.StopRush();
|
| | | if (_target is GActorPlayerBase)
|
| | | {
|
| | | _player = _target as GActorPlayerBase;
|
| | | _player.OnHorse(0);
|
| | | _player.StopRush();
|
| | | }
|
| | |
|
| | | if (_target.State == E_ActorState.AutoRun)
|
| | | {
|
| | | _target.StopPathFind();
|
| | | }
|
| | |
|
| | | if (_target is GA_Player)
|
| | | {
|
| | | GA_Player _otherPlayer = _target as GA_Player;
|
| | | _otherPlayer.StopMoveToPosition();
|
| | | }
|
| | | _player.IdleImmediate();
|
| | | }
|
| | |
|
| | | if (_target.State == E_ActorState.AutoRun)
|
| | | // 调用动作
|
| | | if (m_SkillConfig.CtrlActionID != 0)
|
| | | {
|
| | | _target.StopPathFind();
|
| | | }
|
| | | if (_player != null)
|
| | | {
|
| | | _player = _target as GActorPlayerBase;
|
| | | _player.OnHorse(0);
|
| | | }
|
| | |
|
| | | if (_target is GA_Player)
|
| | | {
|
| | | GA_Player _otherPlayer = _target as GA_Player;
|
| | | _otherPlayer.StopMoveToPosition();
|
| | | }
|
| | | _player.IdleImmediate();
|
| | | }
|
| | | _target.NextAction = m_SkillConfig.CtrlActionID;
|
| | |
|
| | | // 调用动作
|
| | | if (m_SkillConfig.CtrlActionID != 0)
|
| | | {
|
| | | if (_player != null)
|
| | | {
|
| | | _player = _target as GActorPlayerBase;
|
| | | _player.OnHorse(0);
|
| | | }
|
| | |
|
| | | _target.NextAction = m_SkillConfig.CtrlActionID;
|
| | |
|
| | | if (_target.SkillMgr.CurCastSkill != null)
|
| | | {
|
| | | _target.SkillMgr.CurCastSkill.SkillCompelete = true;
|
| | | if (_target.SkillMgr.CurCastSkill != null)
|
| | | {
|
| | | _target.SkillMgr.CurCastSkill.SkillCompelete = true;
|
| | | }
|
| | | }
|
| | | }
|
| | | }
|