void ChangeAttack()
    {
        bool open = false;

        for (int i = 0; i < po.Attack.Count; i++)
        {
            if (curIndex >= po.Attack[i].Start && curIndex <= po.Attack[i].End)
            {
                //当前处于不允许攻击,才能切换到允许攻击
                //if (!mOwner.allowAttack)
                mOwner.ChangeAttack(po.Attack[i]);
                open = true;
                break;
            }
        }

        if (!open)
        {
            mOwner.ChangeAttack(null);
        }
    }