예제 #1
0
    /// <summary>
    /// 没有三星通关-----扫荡前提;
    /// </summary>
    /// <returns></returns>
    public bool RefreshStateInfo()
    {
        bool        result = true;
        ObjectSelf  obj    = ObjectSelf.GetInstance();
        BattleStage stage  = null;

        if (obj.GetIsPrompt())
        {
            stage = obj.BattleStageData.m_BattleStageList[1001];
        }
        else
        {
            stage = obj.BattleStageData.m_BattleStageList[obj.GetCurChapterID()];
        }
        StageData stageData = stage.GetStageData(obj.CurStageID);

        result = stageData == null || stageData.m_StageStar < 3;

        return(result);
    }