/// <summary>
    /// 新手引导第一关
    /// </summary>

    IEnumerator showLevel1(Item curItem, BanBattleManager battleMgr, GuideManager mgr, TemporyData temp)
    {
        NewFloor floor = Core.Data.newDungeonsManager.curFightingFloor;

                #if NewGuide
        if (floor != null && floor.config.ID == 60103 && mgr.isGuiding)
        {
                #else
        if (floor != null && floor.config.ID == 60101 && mgr.isGuiding)
        {
                #endif
            if (isGuideLevel1(curItem, battleMgr))
            {
                SkillData sd = Core.Data.skillManager.getSkillDataConfig(25037);
                battleMgr.AngryUI(true, sd, 1);
                yield return(new WaitForSeconds(BanTimeCenter.XiaoWuKong_Level1));

                Time.timeScale = 0.0f;
                mgr.AutoRUN();
            }
        }
    }

    bool isGuideLevel1(Item curItem, BanBattleManager battleMgr)
    {
        bool guide  = false;
        int  attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;
        int  defNum = battleMgr.GetBattleRole(curItem.defenseIndex).number;

                #if NewGuide
        if (attNum == 10142 && defNum == 10172)
        {
                #else
        if (attNum == 10142 && defNum == 10175)
        {
                #endif
            if (curItem.period == Period.AngrySkillReady)
            {
                guide   = true;
                curStep = GuideStep.XiaoWuKong_OS_1;
                ConsoleEx.DebugLog("isGuideLevel1 is going", ConsoleEx.RED);
            }
        }

        return(guide);
    }

    #endregion
}
    //孙悟空3释放终结技能
    bool isGuide_5(Item curItem, BanBattleManager battleMgr)
    {
        bool guide  = false;
        int  attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;
        int  defNum = battleMgr.GetBattleRole(curItem.defenseIndex).number;

        if (attNum == 10218 && defNum == 10104 && curItem.period == Period.AngrySkill)
        {
            guide   = true;
            curStep = GuideStep.WuKong3_OS_4;
            ConsoleEx.DebugLog("isGuide_5 is going", ConsoleEx.RED);
        }

        return(guide);
    }
    //孙悟空2继承小悟空20怒气
    bool isGuide_3(Item curItem, BanBattleManager battleMgr)
    {
        bool guide  = false;
        int  attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;
        int  defNum = battleMgr.GetBattleRole(curItem.defenseIndex).number;

        if (attNum == 10107 && defNum == 10105 && curItem.period == Period.Attend)
        {
            guide   = true;
            curStep = GuideStep.WuKong2_Anger;
            ConsoleEx.DebugLog("isGuide_3 is going", ConsoleEx.RED);
        }

        return(guide);
    }
    ///
    /// 判定是否为第16关的boss 属性克制
    ///
    bool isGuide16Floor(Item curItem, BanBattleManager battleMgr)
    {
        bool     found = false;
        NewFloor floor = Core.Data.newDungeonsManager.curFightingFloor;

        if (floor != null && floor.config.ID == 60116)
        {
            BanBattleRole curBattleRole = battleMgr.GetBattleRole(curItem.defenseIndex);
            if (curBattleRole != null)
            {
                if (curBattleRole.isBoss == (short)1)
                {
                    if (curItem.period == Period.AttributeConflict)
                    {
                        AccountConfigManager accMgr = Core.Data.AccountMgr;

                        if (accMgr.UserConfig.ShengWuZhe == (short)0)
                        {
                            ConsoleEx.DebugLog("isGuide16Floor is going", ConsoleEx.RED);

                            accMgr.UserConfig.ShengWuZhe = 1;
                            accMgr.save();

                            found = true;
                        }
                    }
                }
            }
        }

        return(found);
    }
    //小悟空克制比克大魔王
    bool isGuide_1(Item curItem, BanBattleManager battleMgr)
    {
        bool guide  = false;
        int  attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;
        int  defNum = battleMgr.GetBattleRole(curItem.defenseIndex).number;

        if (attNum == 10142 && defNum == 10193)
        {
            if (curItem.period == Period.AttributeConflict)
            {
                guide   = true;
                curStep = GuideStep.XiaoWuKong_V_BiKe;
                ConsoleEx.DebugLog("isGuide_1 is going", ConsoleEx.RED);
            }
        }

        return(guide);
    }
    //新版本未来之战的新手引导的逻辑
    IEnumerator FeatureWar(Item curItem, BanBattleManager battleMgr)
    {
        int attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;
        int defNum = battleMgr.GetBattleRole(curItem.defenseIndex).number;

        //克制阶段
        if (isGuide_9(curItem, attNum, defNum))
        {
            yield return(StartCoroutine(battleMgr.getGuideUI.Guide_9()));

            AsyncTask.QueueOnMainThread(() => {
                StartCoroutine(battleMgr.getGuideUI.Guide_A());
            }, 1.2f);
        }

        //怒气阶段
        if (isGuide_B(curItem, attNum, defNum))
        {
            yield return(StartCoroutine(battleMgr.getGuideUI.Guide_B()));

            StartCoroutine(battleMgr.getGuideUI.Guide_C());
        }

        //普通技能阶段
        if (isGuide_D(curItem, attNum, defNum))
        {
            yield return(StartCoroutine(battleMgr.getGuideUI.Guide_D()));

            AsyncTask.QueueOnMainThread(() => {
                StartCoroutine(battleMgr.getGuideUI.Guide_E());
            }, 0.05f);
        }

        //对决阶段
        if (isGuide_F(curItem, attNum, defNum))
        {
            yield return(StartCoroutine(battleMgr.getGuideUI.Guide_F()));

            StartCoroutine(battleMgr.getGuideUI.Guide_10());
        }

        yield return(null);
    }
    //对决的新手引导
    bool isGuide_8(Item curItem, BanBattleManager battleMgr)
    {
        bool guide  = false;
        int  attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;

        if (attNum == 10218 && curItem.defenseIndex == 6)
        {
            if (curItem.period == Period.NormalAttack)
            {
                guide   = true;
                curStep = GuideStep.WuKong3_Vs_BILUSI;
                ConsoleEx.DebugLog("isGuide_7 is going", ConsoleEx.RED);
            }
        }

        return(guide);
    }
    //比鲁斯
    bool isGuide_6(Item curItem, BanBattleManager battleMgr)
    {
        bool guide  = false;
        int  attNum = battleMgr.GetBattleRole(curItem.attackIndex).number;

        if (attNum == 10218 && curItem.defenseIndex == 6)
        {
            if (curItem.period == Period.AttributeConflict)
            {
                guide   = true;
                curStep = GuideStep.BILUSI_V_WuKong3;
                ConsoleEx.DebugLog("isGuide_6 is going", ConsoleEx.RED);
            }
        }

        return(guide);
    }