コード例 #1
0
        public void R15()
        {
            GamePage.Thunder = true;
            GamePage.R_LV.allMLoss(1);


            Time = 200;//下一波攻擊時間
            MakeMonster("B1", new MONSTER4_A(new Vector2(200, 0)), 3);
            AAA.callMonster("MONSTER6_A", 5);
        }
コード例 #2
0
        public void R7()
        {
            Time = 30;//下一波攻擊時間
            AAA.callMonster("BOSS5_G", 1 + GamePage.HERO_S);
            MakeMonster("C1", new MONSTER7_B(new Vector2(0, 0)), 10);



            //右邊
            for (int i = 0; i < 15; i++)
            {
                MONSTER11_A MMM = new MONSTER11_A(new Vector2(450, -40 * i));
                MMM.Yn = GamePage.randObj.Next(0, 150);

                MMM.N2     = GamePage.randObj.Next(80, 320);
                MMM.ADD_X2 = (float)(GamePage.randObj.Next(-150, 0) * 0.01);
                MMM.ADD_Y2 = 2f;


                MMM.N3     = 500;
                MMM.ADD_X3 = 0f;
                MMM.ADD_Y3 = 2f;



                BOX.Add(MMM);
            }



            //左邊
            for (int i = 0; i < 15; i++)
            {
                MONSTER11_A MMM = new MONSTER11_A(new Vector2(50, -40 * i));
                MMM.Yn = GamePage.randObj.Next(0, 150);

                MMM.N2     = GamePage.randObj.Next(80, 320);
                MMM.ADD_X2 = (float)(GamePage.randObj.Next(0, 150) * 0.01);
                MMM.ADD_Y2 = 2f;


                MMM.N3     = 500;
                MMM.ADD_X3 = 0f;
                MMM.ADD_Y3 = 2f;



                BOX.Add(MMM);
            }
        }
コード例 #3
0
        public void R12()
        {
            Time = 300;//下一波攻擊時間

            AAA.callMonster("MONSTER71", 25);
            for (int i = 0; i < 25; i++)
            {
                MONSTER11_A MMM = new MONSTER11_A(new Vector2(240, -40 * i));
                MMM.Yn = 100;

                if (i % 2 == 0)
                {
                    MMM.N2     = 150;
                    MMM.ADD_X2 = -1f;
                    MMM.ADD_Y2 = 2f;


                    MMM.N3     = 500;
                    MMM.ADD_X3 = 1f;
                    MMM.ADD_Y3 = 2f;
                }
                else
                {
                    MMM.N2     = 150;
                    MMM.ADD_X2 = 1f;
                    MMM.ADD_Y2 = 2f;


                    MMM.N3     = 500;
                    MMM.ADD_X3 = -1f;
                    MMM.ADD_Y3 = 2f;
                }

                BOX.Add(MMM);
            }
        }
コード例 #4
0
        public void R11()
        {
            Time = 200;//下一波攻擊時間

            AAA.callMonster("MONSTER71", 25);
        }