Пример #1
0
        private void Ctrl2()
        {
            if (!this.OnSpell)
            {
                this.ShowWings = false;
                if (this.Time == 100)
                {
                    this.StageData.SoundPlay("se_boon01.wav");
                    EmitterGiveOutEnegy3D emitterGiveOutEnegy3D = new EmitterGiveOutEnegy3D(this.StageData, this.Boss.OriginalPosition, Color.SkyBlue);
                    BackgroundWing        backgroundWing        = new BackgroundWing(this.StageData, "Wing", this.Boss.OriginalPosition, 0.0f, 0.0, 0);
                    new BackgroundWing(this.StageData, "Wing", this.Boss.OriginalPosition, 0.0f, Math.PI, 0).Mirrored = true;
                    this.StageData.VibrateStart(50);
                }
                this.Armon = 0.3f;
                if (this.Time == 1)
                {
                    Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
                    this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 160);
                }
                else if (this.Time > 150)
                {
                    this.RandomMove(346, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
                }
                if (this.Time != 160)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St02\\关底Boss\\2非E.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St02\\关底Boss\\2非N.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St02\\关底Boss\\2非H.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St02\\关底Boss\\2非L.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St02\\关底Boss\\2非L.mbg";
                    break;
                }
                new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName)).BossBinding = true;
            }
            else if (this.Time == 1)
            {
                BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
                SpellCard_SSS02_03 spellCardSsS0203 = new SpellCard_SSS02_03(this.StageData);
            }
        }
Пример #2
0
        private void Ctrl2()
        {
            if (!this.OnSpell)
            {
                this.Armon = 0.3f;
                if (this.Time == 1)
                {
                    Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
                    this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 160);
                }
                else if (this.Time > 150)
                {
                    this.RandomMove(346, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
                }
                if (this.Time != 160)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St02\\关底Boss\\2非E.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St02\\关底Boss\\2非N.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St02\\关底Boss\\2非H.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St02\\关底Boss\\2非L.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St02\\关底Boss\\2非L.mbg";
                    break;
                }
                new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName)).BossBinding = true;
            }
            else if (this.Time == 1)
            {
                BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
                SpellCard_SSS02_03 spellCardSsS0203 = new SpellCard_SSS02_03(this.StageData);
            }
        }