if (((Pilot) (Object) aircraft.FM).CT.dropFuelTanks())
вот эта строчка самая главная.
надо как то сюда записать код сброса бомб.
ВОТ КОД БОМБЕЖКИ.
if (!bombsOut) {
bombsOut = true;
if (CT.Weapons[3] != null && CT.Weapons[3][0] != null
&& CT.Weapons[3][0].countBullets() != 0
&& !(CT.Weapons[3][0] instanceof BombGunPara))
Voice.speakAttackByBombs((Aircraft) this.actor);
}
|