示例#1
0
 public override void Shoot()
 {
   this.Boss.Armon = this.Boss.ArmonArray[13];
   if (this.Time != 100)
     return;
   CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(".\\CS\\StEx\\关底Boss\\7符3.mbg"));
 }
示例#2
0
        public override void Shoot()
        {
            if (this.Time > 100)
            {
                this.Boss.MoveUpDown();
                this.Boss.Armon = this.Boss.ArmonArray[10];
            }
            if (this.Time != 100)
            {
                return;
            }
            string FileName;

            switch (this.Difficulty)
            {
            case DifficultLevel.Hard:
                FileName = ".\\CS\\St06\\关底Boss\\FSC1H.mbg";
                break;

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

            default:
                FileName = ".\\CS\\St06\\关底Boss\\FSC1L.mbg";
                break;
            }
            CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
        }
示例#3
0
 public override void Shoot()
 {
   this.Boss.Armon = this.Boss.ArmonArray[5];
   this.Boss.HitEnabled = false;
   if (this.Time > 100)
     this.Boss.MoveUpDown();
   if (this.Time == 150)
   {
     string FileName;
     switch (this.Difficulty)
     {
       case DifficultLevel.Easy:
         FileName = ".\\CS\\St04\\关底Boss\\4符E0.mbg";
         break;
       case DifficultLevel.Normal:
         FileName = ".\\CS\\St04\\关底Boss\\4符N0.mbg";
         break;
       case DifficultLevel.Hard:
         FileName = ".\\CS\\St04\\关底Boss\\4符H0.mbg";
         break;
       case DifficultLevel.Lunatic:
         FileName = ".\\CS\\St04\\关底Boss\\4符L0.mbg";
         break;
       default:
         FileName = ".\\CS\\St04\\关底Boss\\4符U0.mbg";
         break;
     }
     CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
   }
   if ((this.Time - 100) % 200 != 0)
     return;
   this.Boss.OnAction = 150;
 }
示例#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);
            }
        }
示例#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);
                }
            }
        }
示例#6
0
 public override void Shoot()
 {
     this.Boss.Armon = this.Boss.ArmonArray[13];
     if (this.Time > 100 && (this.Time - 30) % 780 == 50)
     {
         this.Boss.DestPoint = new PointF(this.MyPlane.OriginalPosition.X, this.Boss.OriginalPosition.Y);
         this.Boss.Velocity  = 4f;
     }
     if (this.Time != 100)
     {
         return;
     }
     CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(".\\CS\\StEx\\关底Boss\\7符1.mbg"));
 }
示例#7
0
 public override void Shoot()
 {
     if (SpellList.Count > 0)
     {
         Boss.Armon        = 1f;
         Boss.HealthPoint += 1;
     }
     else
     {
         this.Boss.Armon = this.Boss.ArmonArray[9];
     }
     if (this.Time != 100)
     {
         return;
     }
     CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(".\\CS\\StEx\\关底Boss\\5符2.mbg"));
 }
示例#8
0
        public override void Shoot()
        {
            this.Boss.Armon = 0.7f;
            if (this.Time > 100)
            {
                this.Boss.MoveUpDown();
            }
            if (this.Time == 150)
            {
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St03\\关底Boss\\2符E.mbg";
                    break;

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

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

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

                default:
                    FileName = ".\\CS\\St03\\关底Boss\\2符U.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
            }
            if ((this.Time - 100) % 200 != 0)
            {
                return;
            }
            this.Boss.OnAction = 150;
        }
示例#9
0
        public override void Shoot()
        {
            this.Boss.Armon = this.Boss.ArmonArray[4];
            if (this.Time > 100)
            {
                this.Boss.MoveUpDown();
            }
            if (this.Time == 150)
            {
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St04\\关底Boss\\3符E1.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St04\\关底Boss\\3符N1.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St04\\关底Boss\\3符H1.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St04\\关底Boss\\3符L1.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St04\\关底Boss\\3符U1.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
            }
            if ((this.Time - 160) % 363 != 0)
            {
                return;
            }
            this.Boss.OnAction = 250;
        }
示例#10
0
        public override void Shoot()
        {
            this.Boss.Armon      = this.Boss.ArmonArray[6];
            this.Boss.HitEnabled = false;
            if (this.Time > 100)
            {
                this.Boss.MoveUpDown();
            }
            if (this.Time != 150)
            {
                return;
            }
            string FileName;

            switch (this.Difficulty)
            {
            case DifficultLevel.Easy:
                FileName = ".\\CS\\St04\\关底Boss\\5符E.mbg";
                break;

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

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

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

            default:
                FileName = ".\\CS\\St04\\关底Boss\\5符U.mbg";
                break;
            }
            CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
        }
示例#11
0
        public override void Shoot()
        {
            this.Boss.Armon = this.Boss.ArmonArray[3];
            if (this.Time > 100)
            {
                this.Boss.RandomMove(205, 20, 2f, new Rectangle(this.BoundRect.Width / 2 - 45, 100, 90, 40));
            }
            if (this.Time != 150)
            {
                return;
            }
            this.Boss.OnAction = 10000;
            string FileName;

            switch (this.Difficulty)
            {
            case DifficultLevel.Easy:
                FileName = ".\\CS\\St04\\关底Boss\\2符E3.mbg";
                break;

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

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

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

            default:
                FileName = ".\\CS\\St04\\关底Boss\\2符U3.mbg";
                break;
            }
            CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
        }
示例#12
0
        public override void Shoot()
        {
            this.Boss.Armon = 0.8f;
            if (this.Time > 100)
            {
                this.Boss.RandomMove1(180, 1.2f);
            }
            if (this.Time != 150)
            {
                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;
            }
            CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
        }
示例#13
0
        public override void Shoot()
        {
            if (SpellList.Count > 0)
            {
                Boss.Armon = 1f;
                switch (flag)
                {
                case 1: Boss.HealthPoint++; break;

                case 2: Boss.HealthPoint += 2; break;

                case 3: MyPlane.Score -= 100000; break;

                case 4: Boss.HealthPoint += 3; MyPlane.Score -= 100000; break;
                }
            }
            else
            {
                Boss.Armon = Boss.ArmonArray[9];
            }

            if (Time > 100)
            {
                Boss.MoveUpDown();
            }

            if (Time == 150)
            {
                string FileName;
                switch (Difficulty)
                {
                case DifficultLevel.Easy: FileName = ".\\CS\\St06\\关底Boss\\6符P1E.mbg"; break;

                case DifficultLevel.Normal: FileName = ".\\CS\\St06\\关底Boss\\6符P1N.mbg"; break;

                case DifficultLevel.Hard: FileName = ".\\CS\\St06\\关底Boss\\6符P1H.mbg"; break;

                case DifficultLevel.Lunatic: FileName = ".\\CS\\St06\\关底Boss\\6符P1L.mbg"; break;

                default: FileName = ".\\CS\\St06\\关底Boss\\6符P1L.mbg"; break;
                }
                CSEmitterController emitterController = new CSEmitterController(StageData, StageData.LoadCS(FileName));
            }
            if ((Boss.HealthPoint < Boss.MaxHP * 3 / 4.0 || Time > 1800) && flag == 1)
            {
                ++flag;
                ClearEmitter();
                string FileName;
                switch (Difficulty)
                {
                case DifficultLevel.Easy: FileName = ".\\CS\\St06\\关底Boss\\6符P2E.mbg"; break;

                case DifficultLevel.Normal: FileName = ".\\CS\\St06\\关底Boss\\6符P2N.mbg"; break;

                case DifficultLevel.Hard: FileName = ".\\CS\\St06\\关底Boss\\6符P2H.mbg"; break;

                case DifficultLevel.Lunatic: FileName = ".\\CS\\St06\\关底Boss\\6符P2L.mbg"; break;

                default: FileName = ".\\CS\\St06\\关底Boss\\6符P2L.mbg"; break;
                }
                CSEmitterController emitterController = new CSEmitterController(StageData, StageData.LoadCS(FileName));
            }
            if ((Boss.HealthPoint < Boss.MaxHP * 2 / 4.0 || Time > 3600) && flag == 2)
            {
                ++flag;
                ClearEmitter();
                string FileName;
                switch (Difficulty)
                {
                case DifficultLevel.Easy: FileName = ".\\CS\\St06\\关底Boss\\6符P3E.mbg"; break;

                case DifficultLevel.Normal: FileName = ".\\CS\\St06\\关底Boss\\6符P3E.mbg"; break;

                case DifficultLevel.Hard: FileName = ".\\CS\\St06\\关底Boss\\6符P3N.mbg"; break;

                case DifficultLevel.Lunatic: FileName = ".\\CS\\St06\\关底Boss\\6符P3N.mbg"; break;

                default: FileName = ".\\CS\\St06\\关底Boss\\6符P2L.mbg"; break;
                }
                CSEmitterController emitterController = new CSEmitterController(StageData, StageData.LoadCS(FileName));
            }
            if (Boss.HealthPoint >= Boss.MaxHP / 4.0 && Time <= 4500 || flag != 3)
            {
                return;
            }
            ++flag;
            ClearEmitter();
            string FileName1;

            switch (Difficulty)
            {
            case DifficultLevel.Easy: FileName1 = ".\\CS\\St06\\关底Boss\\6符P4E.mbg"; break;

            case DifficultLevel.Normal: FileName1 = ".\\CS\\St06\\关底Boss\\6符P4E.mbg"; break;

            case DifficultLevel.Hard: FileName1 = ".\\CS\\St06\\关底Boss\\6符P4N.mbg"; break;

            case DifficultLevel.Lunatic: FileName1 = ".\\CS\\St06\\关底Boss\\6符P4H.mbg"; break;

            default: FileName1 = ".\\CS\\St06\\关底Boss\\6符P4L.mbg"; break;
            }
            CSEmitterController emitterController1 = new CSEmitterController(StageData, StageData.LoadCS(FileName1));
        }
示例#14
0
        public override void Drama()
        {
            base.Drama();
            int[] numArray = new int[3] {
                3180, 4000, 6440
            };
            if (this.TimeMain == 1)
            {
                switch (this.StageData.Difficulty)
                {
                case DifficultLevel.Hard:
                    this.MyPlane.EnchantmentCountNeeded = 3;
                    break;

                case DifficultLevel.Lunatic:
                    this.MyPlane.EnchantmentCountNeeded = 4;
                    break;
                }
                TransitionIn transitionIn = new TransitionIn(this.StageData);
            }
            Rectangle boundRect;

            if (this.TimeMain == 2)
            {
                if (this.StageData.C_History.PracticeLevel < 1)
                {
                    this.StageData.C_History.PracticeLevel = 1;
                }
                this.StageData.ChangeBGM(".\\BGM\\Stage01.wav", (this.testStartTime + 60) * 44100 / 60, 0, 0, 0, 0);
                StageDataPackage stageData1 = this.StageData;
                boundRect = this.BoundRect;
                int width1 = boundRect.Width;
                boundRect = this.BoundRect;
                int        y           = boundRect.Height - 16;
                Point      DestPoint   = new Point(width1, y);
                MusicTitle musicTitle1 = new MusicTitle(stageData1, "宁静夏夜的微风", DestPoint);
                MusicTitle musicTitle2 = musicTitle1;
                boundRect = this.BoundRect;
                double width2 = (double)boundRect.Width;
                boundRect = this.BoundRect;
                double num1   = (double)(boundRect.Height + 100);
                PointF pointF = new PointF((float)width2, (float)num1);
                musicTitle2.OriginalPosition = pointF;
                musicTitle1.Scale            = 0.5f;
                this.Background3D.Envi       = (IEnvironment) new EnvironmentSSS01(this.StageData);
                new BackgroundTransitionIn(this.StageData)
                {
                    Delay = 200
                }.LifeTime = 320;
                BackgroundGroupSSS01 backgroundGroupSsS01 = new BackgroundGroupSSS01(this.StageData);
                if (this.testStartTime > this.TimeMain)
                {
                    this.TimeMain = this.testStartTime;
                }
                if (this.TimeMain < numArray[0])
                {
                    string[] files;
                    switch (this.StageData.Difficulty)
                    {
                    case DifficultLevel.Easy:
                        files = Directory.GetFiles(".\\CS\\St01\\A\\E\\", "*.mbg");
                        break;

                    case DifficultLevel.Normal:
                        files = Directory.GetFiles(".\\CS\\St01\\A\\N\\", "*.mbg");
                        break;

                    case DifficultLevel.Hard:
                        files = Directory.GetFiles(".\\CS\\St01\\A\\H\\", "*.mbg");
                        break;

                    case DifficultLevel.Lunatic:
                        files = Directory.GetFiles(".\\CS\\St01\\A\\L\\", "*.mbg");
                        break;

                    default:
                        files = Directory.GetFiles(".\\CS\\St01\\A\\L\\", "*.mbg");
                        break;
                    }
                    foreach (string FileName in files)
                    {
                        CSEmitterController csec = new CSEmitterController(StageData, StageData.LoadCS(FileName));
                        csec.OnRoad = true;
                        csec.Time   = TimeMain + 60;
                    }
                    //  new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName))
                    //   {
                    //     OnRoad = true
                    //   }.Time = this.TimeMain + 60;
                }
                StageDataPackage stageData2  = this.StageData;
                string           textureName = this.StageData.Difficulty.ToString();
                boundRect = this.BoundRect;
                int x = boundRect.X;
                boundRect = this.BoundRect;
                int    num2 = boundRect.Width / 2;
                double num3 = (double)(x + num2);
                boundRect = this.BoundRect;
                double num4     = (double)(boundRect.Y + 16);
                PointF Position = new PointF((float)num3, (float)num4);
                new TextTwinkle(stageData2, textureName, Position, 0.0f, Math.PI / 2.0)
                {
                    TwinkleColor = Color.Gray,
                    Circle       = 10
                }.LifeTime = 150;
            }
            else if (this.TimeMain == 30)
            {
                new TextTwinkle(this.StageData, "ItemGetBorderLine", new PointF((float)(this.BoundRect.X + this.BoundRect.Width / 2), (float)(this.BoundRect.Y + 130)), 0.0f, Math.PI / 2.0).TwinkleColor         = Color.OrangeRed;
                new TextTwinkle(this.StageData, "ItemGetBorderLine01", new PointF((float)(this.BoundRect.X + this.BoundRect.Width / 2 - 168), (float)(this.BoundRect.Y + 130)), 0.0f, Math.PI / 2.0).TwinkleColor = Color.OrangeRed;
                new TextTwinkle(this.StageData, "ItemGetBorderLine01", new PointF((float)(this.BoundRect.X + this.BoundRect.Width / 2 + 158), (float)(this.BoundRect.Y + 130)), 0.0f, Math.PI / 2.0).TwinkleColor = Color.OrangeRed;
            }
            if (this.TimeMain == numArray[0])
            {
                this.StageData.RemoveBullets();
                Boss_Ami01      bossAmi01       = new Boss_Ami01(this.StageData);
                EmitterBossFire emitterBossFire = new EmitterBossFire(this.StageData, this.Boss.OriginalPosition, Color.FromArgb(40, (int)byte.MaxValue, 20));
                new MagicCircle(this.StageData, "MagicCircleSix").Scale = 1.5f;
                this.Background3D.WarpEnabled  = true;
                this.Background3D.WarpColorKey = 0;
            }
            else if (this.TimeMain > numArray[1] && this.Boss == null && !this.RoadFlag)
            {
                this.RoadFlag = true;
                string[] files;
                switch (this.StageData.Difficulty)
                {
                case DifficultLevel.Easy:
                    files = Directory.GetFiles(".\\CS\\St01\\B\\E\\", "*.mbg");
                    break;

                case DifficultLevel.Normal:
                    files = Directory.GetFiles(".\\CS\\St01\\B\\N\\", "*.mbg");
                    break;

                case DifficultLevel.Hard:
                    files = Directory.GetFiles(".\\CS\\St01\\B\\H\\", "*.mbg");
                    break;

                case DifficultLevel.Lunatic:
                    files = Directory.GetFiles(".\\CS\\St01\\B\\L\\", "*.mbg");
                    break;

                default:
                    files = Directory.GetFiles(".\\CS\\St01\\B\\L\\", "*.mbg");
                    break;
                }
                foreach (string FileName in files)
                {
                    CS_Data CSData = new CS_Data(FileName);
                    CSData.String2Data(this.StageData);
                    new CSEmitterController(this.StageData, CSData)
                    {
                        OnRoad = true
                    }.Time = this.TimeMain + 60;
                }
            }
            else if (numArray[2] - 130 == this.TimeMain)
            {
                StageDataPackage stageData = this.StageData;
                boundRect = this.BoundRect;
                PointF OriginalPosition = new PointF((float)(boundRect.Width / 2), 150f);
                new BossStar(stageData, OriginalPosition).ColorType = 6;
            }
            else
            {
                if (numArray[2] != this.TimeMain)
                {
                    return;
                }
                this.StageData.RemoveBullets();
                Boss_Ami02 bossAmi02 = new Boss_Ami02(this.StageData);
                switch (this.MyPlane.Name)
                {
                case "Aya":
                    Story_SSS01_01 storySsS0101 = new Story_SSS01_01(this.StageData);
                    break;

                case "Reimu":
                    Story_SSS01_01A storySsS0101A = new Story_SSS01_01A(this.StageData);
                    break;

                case "Marisa":
                    Story_SSS01_01B storySsS0101B = new Story_SSS01_01B(this.StageData);
                    break;

                case "Sanae":
                    Story_SSS01_01C storySsS0101C = new Story_SSS01_01C(this.StageData);
                    break;

                case "Koishi":
                    Story_SSS01_01D storySsS0101D = new Story_SSS01_01D(this.StageData);
                    break;

                default:
                    Story_SSS01_01X storySsS0101X = new Story_SSS01_01X(this.StageData);
                    break;
                }
                this.Background3D.WarpEnabled  = false;
                this.Background3D.WarpColorKey = 0;
            }
        }
示例#15
0
        public override void Shoot()
        {
            if (this.SpellList.Count > 0 || this.MyPlane.Time < this.MyPlane.UnmatchedTime - 30)
            {
                this.Boss.Armon = 1f;
            }
            else
            {
                this.Boss.Armon = this.Boss.ArmonArray[9];
            }
            if (this.Time > 100)
            {
                this.Boss.MoveUpDown();
            }
            if (this.Time == 150)
            {
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P1E.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P1N.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P1H.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P1L.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P1L.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
            }
            if (((double)this.Boss.HealthPoint < (double)(this.Boss.MaxHP * 3) / 4.0 || this.Time > 1800) && this.flag == 1)
            {
                ++this.flag;
                this.ClearEmitter();
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P2E.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P2N.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P2H.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P2L.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P2L.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
            }
            if (((double)this.Boss.HealthPoint < (double)(this.Boss.MaxHP * 2) / 4.0 || this.Time > 3600) && this.flag == 2)
            {
                ++this.flag;
                this.ClearEmitter();
                string FileName;
                switch (this.Difficulty)
                {
                case DifficultLevel.Easy:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P3E.mbg";
                    break;

                case DifficultLevel.Normal:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P3N.mbg";
                    break;

                case DifficultLevel.Hard:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P3H.mbg";
                    break;

                case DifficultLevel.Lunatic:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P3L.mbg";
                    break;

                default:
                    FileName = ".\\CS\\St06\\关底Boss\\6符P2L.mbg";
                    break;
                }
                CSEmitterController emitterController = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName));
            }
            if ((double)this.Boss.HealthPoint >= (double)this.Boss.MaxHP / 4.0 && this.Time <= 5400 || this.flag != 3)
            {
                return;
            }
            ++this.flag;
            this.ClearEmitter();
            string FileName1;

            switch (this.Difficulty)
            {
            case DifficultLevel.Easy:
                FileName1 = ".\\CS\\St06\\关底Boss\\6符P4E.mbg";
                break;

            case DifficultLevel.Normal:
                FileName1 = ".\\CS\\St06\\关底Boss\\6符P4N.mbg";
                break;

            case DifficultLevel.Hard:
                FileName1 = ".\\CS\\St06\\关底Boss\\6符P4H.mbg";
                break;

            case DifficultLevel.Lunatic:
                FileName1 = ".\\CS\\St06\\关底Boss\\6符P4L.mbg";
                break;

            default:
                FileName1 = ".\\CS\\St06\\关底Boss\\6符P4L.mbg";
                break;
            }
            CSEmitterController emitterController1 = new CSEmitterController(this.StageData, this.StageData.LoadCS(FileName1));
        }