Exemple #1
0
        public override void GiveEndEffect()
        {
            this.TransparentValueF = (float)byte.MaxValue;
            Background2DRemover background2Dremover = new Background2DRemover(this.StageData);

            this.Background3D.WarpEnabled = false;
            this.LifeTime = this.Time + 150;
            this.Region   = 0;
            this.StageData.SoundPlay("se_tan01.wav");
            if (this.MyPlane.FscEnabled)
            {
                this.LifeTime = this.Time + 50;
                EndBoss_FSC03 endBossFsC03 = new EndBoss_FSC03(this.StageData, this.OriginalPosition, Color.ForestGreen, Color.Green);
            }
            else
            {
                this.LifeTime = this.Time + 150;
                EndBoss_Touhou03 endBossTouhou03 = new EndBoss_Touhou03(this.StageData, this.OriginalPosition, Color.ForestGreen, Color.Green);
            }
        }
Exemple #2
0
 private void Ctrl1()
 {
     if (!this.OnSpell)
     {
         if (this.Time == 1)
         {
             Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
             this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 180);
         }
         if (this.Time != 100)
         {
             return;
         }
         this.OnSpell = true;
     }
     else if (this.Time == 101)
     {
         BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
         SpellCard_SSS05_05 spellCardSsS0505 = new SpellCard_SSS05_05(this.StageData);
     }
 }
Exemple #3
0
 private void Ctrl3()
 {
     if (!this.OnSpell)
     {
         if (this.Time == 1)
         {
             Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
             this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 180);
         }
         if (this.Time != 200)
         {
             return;
         }
         this.OnSpell   = true;
         this.SpellTime = 3000;
     }
     else if (this.Time == 201)
     {
         BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
         SpellCard_SSSEx_01 spellCardSssEx01 = new SpellCard_SSSEx_01(this.StageData);
     }
 }
Exemple #4
0
 private void Ctrl1()
 {
     if (!this.OnSpell)
     {
         if (this.Time == 1)
         {
             Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
         }
         if (this.Time != 1)
         {
             return;
         }
         this.OnSpell   = true;
         this.SpellTime = 3000;
     }
     else
     {
         this.Boss.Armon = this.ArmonArray[12];
         if (this.Time == 2)
         {
             SpellCard_SSS06_FSC03 spellCardSsS06FsC03 = new SpellCard_SSS06_FSC03(this.StageData);
         }
     }
 }
Exemple #5
0
        private void Ctrl4()
        {
            if (!this.OnSpell)
            {
                this.Armon = this.ArmonArray[2];
                if (this.Time == 1)
                {
                    Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
                    this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 160);
                }
                else if (this.Time > 50)
                {
                    this.RandomMove(138, 20, 2f, new Rectangle(this.BoundRect.Width / 2 - 45, 100, 90, 40));
                }
                if (this.Time != 60)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St04\\关底Boss\\2非E.mbg";
                    break;

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

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

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

                default:
                    FileName = ".\\CS\\St04\\关底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);
                switch (this.MyPlane.Name)
                {
                case "Reimu":
                    SpellCard_SSS04_02A spellCardSsS0402A1 = new SpellCard_SSS04_02A(this.StageData);
                    break;

                case "Marisa":
                    SpellCard_SSS04_02B spellCardSsS0402B = new SpellCard_SSS04_02B(this.StageData);
                    break;

                case "Sanae":
                    SpellCard_SSS04_02C spellCardSsS0402C = new SpellCard_SSS04_02C(this.StageData);
                    break;

                case "Koishi":
                    SpellCard_SSS04_02D spellCardSsS0402D = new SpellCard_SSS04_02D(this.StageData);
                    break;

                default:
                    SpellCard_SSS04_02A spellCardSsS0402A2 = new SpellCard_SSS04_02A(this.StageData);
                    break;
                }
            }
        }
Exemple #6
0
        private void Ctrl1()
        {
            if (!this.OnSpell)
            {
                this.Armon = 0.32f;
                if (this.Time == 1)
                {
                    Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
                    this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 100);
                    this.Velocity  = 4f;
                }
                else if (this.Time > 150)
                {
                    this.RandomMove(346, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
                }
                if (this.Time == 90)
                {
                    EmitterSaveEnegy3D emitterSaveEnegy3D = new EmitterSaveEnegy3D(this.StageData, this.OriginalPosition, Color.FromArgb((int)byte.MaxValue, (int)byte.MaxValue, 155));
                    this.StageData.SoundPlay("se_ch02.wav");
                }
                if (this.Time != 150)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St01\\关底Boss\\2非E.mbg";
                    break;

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

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

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

                default:
                    FileName = ".\\CS\\St01\\关底Boss\\2非L.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName))
                {
                    BossBinding          = true,
                    BaseOriginalPosition = this.OriginalPosition
                };
            }
            else
            {
                this.Armon = 0.86f;
                if (this.Time == 1)
                {
                    BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
                    SpellCard_SSS01_03 spellCardSsS0103 = new SpellCard_SSS01_03(this.StageData);
                }
            }
        }