using UnityEngine;
using GameCore;
using System.Collections.Generic;
public class N2BianXianQiuMaker
{
    public static void MakeBianXianQiu(NActionClip _clip, CoreEngine _core, int _turn, float _btime, bool _force)
    {
        if (_force)
        {
            switch (_core.GetPart())
            {
                case 1:
                    _core.ChangeAttackSide(false);
                    break;
                case 2:
                    _core.ChangeAttackSide(true);
                    break;
                case 3:
                    _core.ChangeAttackSide(false);
                    break;
                default:
                    _core.ChangeAttackSide(!_core.GetAttackTeam());
                    break;
            }
        }
        else
        {
            _core.ChangeAttackSide(!_core.GetAttackTeam());
        }


    }
}
