Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | |
| | | if (_hero == null |
| | | || _hero.MovingState == E_MovingState.Ride |
| | | || _hero.IsPolyMorph) |
| | | || _hero.IsPolyMorph |
| | | || _hero.IsCollect()) |
| | | { |
| | | return; |
| | | } |
| | |
| | | _player = GAMgr.Instance.GetBySID(H0812.PlayerID) as GActorPlayerBase; |
| | | if (_player != null) |
| | | { |
| | | _player.Collect(); |
| | | if (_player.MovingState != E_MovingState.Ride) |
| | | { |
| | | _player.Collect(); |
| | | } |
| | | } |
| | | |
| | | break; |
| | |
| | | _player = GAMgr.Instance.GetBySID(h0813.PlayerID) as GActorPlayerBase; |
| | | if (_player != null) |
| | | { |
| | | if (_player.IsCollect()) |
| | | { |
| | | _player.IdleImmediate(); |
| | | } |
| | | _player.IdleImmediate(); |
| | | } |
| | | break; |
| | | case E_PrepareType.pstCatchPet: |