Exemplo n.º 1
0
 private void Ctrl3()
 {
     if (!this.OnSpell)
     {
         this.Armon = this.ArmonArray[14];
         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(346, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
         }
         if (this.Time != 60)
         {
             return;
         }
         new CSEmitterController(this.StageData, this.StageData.LoadCS(".\\CS\\StEx\\关底Boss\\8非.mbg")).BossBinding = true;
     }
     else if (this.Time == 1)
     {
         BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
         SpellCard_SSSEx_08 spellCardSssEx08 = new SpellCard_SSSEx_08(this.StageData);
     }
 }
Exemplo n.º 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);
         }
         else
         {
             this.RandomMove1(150, 4f);
         }
         if (this.Time != 150)
         {
             return;
         }
         this.OnSpell   = true;
         this.SpellTime = 3000;
     }
     else if (this.Time == 151)
     {
         BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
         SpellCard_SSS02_04 spellCardSsS0204 = new SpellCard_SSS02_04(this.StageData);
     }
 }
Exemplo n.º 3
0
 private void Ctrl2()
 {
     if (!this.OnSpell)
     {
         if (this.Time == 1)
         {
             Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
             this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 140);
         }
         else
         {
             this.RandomMove1(150, 4f);
         }
         if (this.Time != 90)
         {
             return;
         }
         this.OnSpell = true;
     }
     else if (this.Time == 91)
     {
         BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
         this.Armon = 0.4f;
         SpellCard_SSS03_01 spellCardSsS0301 = new SpellCard_SSS03_01(this.StageData);
     }
 }
Exemplo n.º 4
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, 150);
                    this.Velocity  = 4f;
                }
                else if (this.Time > 50)
                {
                    this.RandomMove(346, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
                }
                if (this.Time == 10)
                {
                    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 != 60)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St01\\关底Boss\\1非E.mbg";
                    break;

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

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

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

                default:
                    FileName = ".\\CS\\St01\\关底Boss\\1非L.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName))
                {
                    BossBinding          = true,
                    BaseOriginalPosition = this.OriginalPosition
                };
            }
            else if (this.Time == 1)
            {
                BulletRemover2     bulletRemover2   = new BulletRemover2(this.StageData, this.OriginalPosition);
                SpellCard_SSS01_02 spellCardSsS0102 = new SpellCard_SSS01_02(this.StageData);
            }
        }
Exemplo n.º 5
0
        private void Ctrl1()
        {
            if (!this.OnSpell)
            {
                this.Armon = 0.0f;
                if (this.Time == 1)
                {
                    this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120);
                }
                else if (this.Time > 100)
                {
                    this.RandomMove(300, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
                }
                if (this.Time != 60)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St02\\道中Boss\\1非E.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St02\\道中Boss\\1非N.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St02\\道中Boss\\1非H.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St02\\道中Boss\\1非L.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St02\\道中Boss\\1非L.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName))
                {
                    BossBinding          = true,
                    BaseOriginalPosition = this.OriginalPosition
                };
            }
            else
            {
                this.Armon = 0.8f;
                if (this.Time == 1)
                {
                    BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
                    this.Boss.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 120);
                    this.Boss.Velocity  = 4f;
                    SpellCard_SSS02_01 spellCardSsS0201 = new SpellCard_SSS02_01(this.StageData);
                }
            }
        }
Exemplo n.º 6
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);
            }
        }
Exemplo n.º 7
0
        private void Ctrl3()
        {
            if (!this.OnSpell)
            {
                this.Armon = this.ArmonArray[6];
                if (this.Time == 1)
                {
                    Background2DRemover background2Dremover = new Background2DRemover(this.StageData);
                    this.DestPoint = (PointF) new Point(this.BoundRect.Width / 2, 150);
                }
                else if (this.Time > 50)
                {
                    this.RandomMove(346, 30, 2f, new Rectangle(this.BoundRect.Width / 2 - 60, 100, 120, 40));
                }
                if (this.Time == 60)
                {
                    TenseiWing tenseiWing = new TenseiWing(this.StageData);
                    this.StageData.VibrateStart(90);
                }
                if (this.Time != 150)
                {
                    return;
                }
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St06\\关底Boss\\4非E.mbg";
                    break;

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

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

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

                default:
                    FileName = ".\\CS\\St06\\关底Boss\\4非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_SSS06_04 spellCardSsS0604 = new SpellCard_SSS06_04(this.StageData);
            }
        }
Exemplo n.º 8
0
        private void Ctrl5()
        {
            if (!this.OnSpell)
            {
                this.Armon = this.ArmonArray[0];
                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\\1非E.mbg";
                    break;

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

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

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

                default:
                    FileName = ".\\CS\\St04\\关底Boss\\1非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_SSS04_01 spellCardSsS0401 = new SpellCard_SSS04_01(this.StageData);
            }
        }
Exemplo n.º 9
0
        private void Ctrl4()
        {
            if (!this.OnSpell)
            {
                this.Armon = this.ArmonArray[12];
                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;
                }
                new CSEmitterController(this.StageData, this.StageData.LoadCS(".\\CS\\StEx\\关底Boss\\7非.mbg")).BossBinding = true;
            }
            else if (this.Time == 1)
            {
                BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
                switch (this.MyPlane.Name)
                {
                case "Reimu":
                    SpellCard_SSSEx_07A spellCardSssEx07A1 = new SpellCard_SSSEx_07A(this.StageData);
                    break;

                case "Marisa":
                    SpellCard_SSSEx_07B spellCardSssEx07B = new SpellCard_SSSEx_07B(this.StageData);
                    break;

                case "Sanae":
                    SpellCard_SSSEx_07C spellCardSssEx07C = new SpellCard_SSSEx_07C(this.StageData);
                    break;

                case "Koishi":
                    SpellCard_SSSEx_07D spellCardSssEx07D = new SpellCard_SSSEx_07D(this.StageData);
                    break;

                default:
                    SpellCard_SSSEx_07A spellCardSssEx07A2 = new SpellCard_SSSEx_07A(this.StageData);
                    break;
                }
            }
        }
Exemplo n.º 10
0
        private void Ctrl8()
        {
            if (!this.OnSpell)
            {
                this.Armon = this.ArmonArray[4];
                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)
                {
                }
                if (this.Time != 160)
                {
                    return;
                }
                new CSEmitterController(this.StageData, this.StageData.LoadCS(".\\CS\\StEx\\关底Boss\\3非.mbg")).BossBinding = true;
            }
            else if (this.Time == 1)
            {
                BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
                switch (this.MyPlane.Name)
                {
                case "Reimu":
                    SpellCard_SSSEx_03A spellCardSssEx03A1 = new SpellCard_SSSEx_03A(this.StageData);
                    break;

                case "Marisa":
                    SpellCard_SSSEx_03B spellCardSssEx03B = new SpellCard_SSSEx_03B(this.StageData);
                    break;

                case "Sanae":
                    SpellCard_SSSEx_03C spellCardSssEx03C = new SpellCard_SSSEx_03C(this.StageData);
                    break;

                case "Koishi":
                    SpellCard_SSSEx_03D spellCardSssEx03D = new SpellCard_SSSEx_03D(this.StageData);
                    break;

                default:
                    SpellCard_SSSEx_03A spellCardSssEx03A2 = new SpellCard_SSSEx_03A(this.StageData);
                    break;
                }
            }
        }
Exemplo n.º 11
0
        private void Ctrl2()
        {
            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;
                this.SpellTime = 2100;
            }
            else if (this.Time == 101)
            {
                BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
                switch (this.MyPlane.Name)
                {
                case "Reimu":
                    SpellCard_SSS04_04A spellCardSsS0404A1 = new SpellCard_SSS04_04A(this.StageData);
                    break;

                case "Marisa":
                    SpellCard_SSS04_04B spellCardSsS0404B = new SpellCard_SSS04_04B(this.StageData);
                    break;

                case "Sanae":
                    SpellCard_SSS04_04C spellCardSsS0404C = new SpellCard_SSS04_04C(this.StageData);
                    break;

                case "Koishi":
                    SpellCard_SSS04_04D spellCardSsS0404D = new SpellCard_SSS04_04D(this.StageData);
                    break;

                default:
                    SpellCard_SSS04_04A spellCardSsS0404A2 = new SpellCard_SSS04_04A(this.StageData);
                    break;
                }
            }
        }
Exemplo n.º 12
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);
     }
 }
Exemplo n.º 13
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);
     }
 }
Exemplo n.º 14
0
        public override void Ctrl()
        {
            base.Ctrl();
            if (!this.OnSpell)
            {
                this.Armon = 0.0f;
            }
            switch (this.Life)
            {
            case 0:
                this.Velocity  = 0.0f;
                this.DestPoint = (PointF) new Point(this.Ran.Next(100, this.BoundRect.Width - 100), this.Ran.Next(70, 200));
                break;

            case 1:
                this.Ctrl1();
                break;
            }
            this.MoveToPoint(this.DestPoint);
            if (!this.OnSpell)
            {
                if ((double)this.HealthPoint >= (double)this.SpellcardHP && this.Time <= this.SpellTime)
                {
                    return;
                }
                this.HealthPoint = (float)this.SpellcardHP;
                this.Time        = 0;
                this.OnSpell     = true;
                ShootingStarShard shootingStarShard = new ShootingStarShard(this.StageData, new PointF((float)(this.BoundRect.Width / 2), 0.0f));
            }
            else if ((double)this.HealthPoint <= 0.0 || this.Time > this.SpellTime)
            {
                --this.Life;
                Rectangle boundRect;
                if ((double)this.HealthPoint <= 0.0 && this.Life >= -1)
                {
                    this.GiveItems();
                    StageDataPackage stageData = this.StageData;
                    boundRect = this.BoundRect;
                    PointF            OriginalPosition  = new PointF((float)(boundRect.Width / 2), 0.0f);
                    ShootingStarShard shootingStarShard = new ShootingStarShard(stageData, OriginalPosition);
                }
                if (this.Life <= 0)
                {
                    if (this.Life == 0)
                    {
                        this.DestPoint = (PointF) new Point(this.Ran.Next((int)this.OriginalPosition.X - 30, (int)this.OriginalPosition.X + 30), this.Ran.Next((int)this.OriginalPosition.Y + 30, (int)this.OriginalPosition.Y + 50));
                        this.Velocity  = 0.5f;
                        BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
                        this.HealthPoint = 0.0f;
                        this.GiveEndEffect();
                        this.Life = -1;
                    }
                }
                else
                {
                    BulletRemover2 bulletRemover2 = new BulletRemover2(this.StageData, this.OriginalPosition);
                    this.StageData.SoundPlay("se_tan00.wav");
                    this.HealthPoint = (float)this.MaxHP;
                    this.Time        = 0;
                    this.OnSpell     = false;
                    boundRect        = this.BoundRect;
                    this.DestPoint   = (PointF) new Point(boundRect.Width / 2, 120);
                    this.Velocity    = 4f;
                }
            }
        }