Beispiel #1
0
 public override void Buffer()
 {
     if (Random < 10)
     {
         SingleObject.GetSingle().BG.TP.currentlife = SingleObject.GetSingle().BG.TP.origlife;//恢复全部生命
     }
     else if (Random < 20)
     {
         SingleObject.GetSingle().BG.TP.currentlife--;//毒苹果
     }
     else if (Random < 30)
     {
         Weapon.w += 10; Weapon.h += 10;//子弹变大
     }
     else
     {
         Weapon.end *= 2;//子弹射程*2
     }
     SoundPlayer.Eat_BGM();
 }