示例#1
0
 public override void Shoot()
 {
     if (this.KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(this.StageData, "SanaeSubBullet02", this.OriginalPosition, 40f, this.ShootDirection - 0.0299999993294477);
         baseMyBulletTouhou1.Angle  = 1.57079637050629;
         baseMyBulletTouhou1.Damage = 3;
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(this.StageData, "SanaeSubBullet02", this.OriginalPosition, 40f, this.ShootDirection + 0.0299999993294477);
         baseMyBulletTouhou2.Angle  = 1.57079637050629;
         baseMyBulletTouhou2.Damage = 3;
     }
     else
     {
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(this.StageData, "SanaeSubBullet00", this.OriginalPosition, 30f, this.ShootDirection - 0.150000005960464);
         baseMyBulletTouhou1.Angle    = 3.14159274101257;
         baseMyBulletTouhou1.Damage   = 7;
         baseMyBulletTouhou1.Mirrored = this.Mirrored;
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(this.StageData, "SanaeSubBullet00", this.OriginalPosition, 30f, this.ShootDirection + 0.150000005960464);
         baseMyBulletTouhou2.Angle    = 3.14159274101257;
         baseMyBulletTouhou2.Damage   = 7;
         baseMyBulletTouhou2.Mirrored = this.Mirrored;
         BaseMyBullet_Touhou baseMyBulletTouhou3 = new BaseMyBullet_Touhou(this.StageData, "SanaeSubBullet00", this.OriginalPosition, 30f, this.ShootDirection);
         baseMyBulletTouhou3.Angle    = 3.14159274101257;
         baseMyBulletTouhou3.Damage   = 7;
         baseMyBulletTouhou3.Mirrored = this.Mirrored;
     }
 }
示例#2
0
文件: Shinmyoumaru.cs 项目: THSJF/sjf
 public override void Shoot()
 {
     if (KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(StageData, "MaruBullet", OriginalPosition, 18f, ShootDirection + Math.PI / 60.0)
         {
             Angle  = 1.57079637050629,
             Damage = 5
         };
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(StageData, "MaruBullet", OriginalPosition, 18f, ShootDirection - Math.PI / 60.0)
         {
             Angle  = 1.57079637050629,
             Damage = 5
         };
     }
     else
     {
         BulletGuidance bulletGuidance = new BulletGuidance(StageData, "ReimuSubBullet", Position, 8f, ShootDirection)
         {
             TransparentValueF = 180f,
             Angle             = 1.57079637050629,
             Damage            = 9
         };
     }
 }
示例#3
0
 public override void Shoot()
 {
     if (this.KClass.Key_Shift)
     {
         int    num1      = 5;
         double num2      = 24.0 * Math.PI / 180.0 / (double)(num1 - 1);
         double Direction = this.ShootDirection - (double)(num1 - 1) * num2 / 2.0;
         for (int index = 0; index < num1; ++index)
         {
             BaseMyBullet_Touhou baseMyBulletTouhou = new BaseMyBullet_Touhou(this.StageData, "KoishiSubBullet00", this.OriginalPosition, 15f, Direction);
             baseMyBulletTouhou.Angle  = 1.57079637050629;
             baseMyBulletTouhou.Damage = 6;
             Direction += num2;
         }
     }
     else
     {
         int    num1      = 15;
         double num2      = 120.0 * Math.PI / 180.0 / (double)(num1 - 1);
         double Direction = this.ShootDirection - (double)(num1 - 1) * num2 / 2.0;
         for (int index = 0; index < num1; ++index)
         {
             BaseMyBullet_Touhou baseMyBulletTouhou = new BaseMyBullet_Touhou(this.StageData, "KoishiSubBullet01", this.OriginalPosition, 8f, Direction);
             baseMyBulletTouhou.Angle  = 1.57079637050629;
             baseMyBulletTouhou.Damage = 15;
             Direction += num2;
         }
     }
 }
示例#4
0
        public override void Shoot()
        {
            BaseMyBullet_Touhou baseMyBulletTouhou = new BaseMyBullet_Touhou(this.StageData, "子机子弹", this.OriginalPosition, 4f, this.ShootDirection);

            baseMyBulletTouhou.Angle      = 3.14159274101257;
            baseMyBulletTouhou.Damage     = 5;
            baseMyBulletTouhou.Accelerate = 0.5f;
        }
示例#5
0
 public override void Shoot()
 {
     if (this.KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou = new BaseMyBullet_Touhou(this.StageData, "AyaBullet10", this.OriginalPosition, 12f, this.ShootDirection);
         baseMyBulletTouhou.Angle  = 1.57079637050629;
         baseMyBulletTouhou.Damage = 4;
     }
     else
     {
         BulletGuidance bulletGuidance = new BulletGuidance(this.StageData, "AyaBullet10", this.Position, 8f, this.ShootDirection);
         bulletGuidance.TransparentValueF = 180f;
         bulletGuidance.Angle             = 1.57079637050629;
     }
 }
示例#6
0
        public override void Shoot()
        {
            BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(this.StageData, "ReimuAyaBullet01", this.OriginalPosition, 8f, this.ShootDirection);

            baseMyBulletTouhou1.TransparentValueF = 150f;
            baseMyBulletTouhou1.Angle             = 1.57079637050629;
            baseMyBulletTouhou1.Damage            = 6;
            if (this.shootFlag++ % 2 != 0)
            {
                return;
            }
            BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(this.StageData, "ReimuAyaBullet01", this.OriginalPosition, 8f, this.ShootDirection + (double)this.Ran.Next(-3, 4) / 20.0);

            baseMyBulletTouhou2.TransparentValueF = 150f;
            baseMyBulletTouhou2.Angle             = 1.57079637050629;
            baseMyBulletTouhou2.Damage            = 6;
        }
示例#7
0
 public override void Shoot()
 {
     if (this.Time % 3 == 0)
     {
         this.StageData.SoundPlay("se_plst00.wav", this.OriginalPosition.X / (float)this.BoundRect.Width);
         float x = this.OriginalPosition.X;
         float y = this.OriginalPosition.Y;
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(this.StageData, "SanaeBullet00", new PointF(x + 7f, y), 30f, -1.0 * Math.PI / 2.0);
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(this.StageData, "SanaeBullet00", new PointF(x - 7f, y), 30f, -1.0 * Math.PI / 2.0);
     }
     if (this.Time % 4 != 0)
     {
         return;
     }
     for (int index = 0; index < this.PowerLevel; ++index)
     {
         this.SubPlaneList[index].Shoot();
     }
 }
示例#8
0
 public override void Shoot()
 {
     if (this.KClass.Key_Shift)
     {
         BaseMyBullet_Touhou baseMyBulletTouhou1 = new BaseMyBullet_Touhou(this.StageData, "MaruBullet", this.OriginalPosition, 18f, this.ShootDirection + Math.PI / 60.0);
         baseMyBulletTouhou1.Angle  = 1.57079637050629;
         baseMyBulletTouhou1.Damage = 5;
         BaseMyBullet_Touhou baseMyBulletTouhou2 = new BaseMyBullet_Touhou(this.StageData, "MaruBullet", this.OriginalPosition, 18f, this.ShootDirection - Math.PI / 60.0);
         baseMyBulletTouhou2.Angle  = 1.57079637050629;
         baseMyBulletTouhou2.Damage = 5;
     }
     else
     {
         BulletGuidance bulletGuidance = new BulletGuidance(this.StageData, "ReimuSubBullet", this.Position, 8f, this.ShootDirection);
         bulletGuidance.TransparentValueF = 180f;
         bulletGuidance.Angle             = 1.57079637050629;
         bulletGuidance.Damage            = 9;
     }
 }