weapon.flags |= F_ONESHOT;
weapon.flags |= F_ONESHOT | F_MISSILE;
    public static WeaponType createISRL10()  {      WeaponType weapon = new WeaponType();      weapon.name = "RL 10";        weapon.setInternalName("RL10");        weapon.addLookupName("ISRocketLauncher10");        weapon.addLookupName("IS RLauncher-10");      weapon.heat = 3;      weapon.damage= DAMAGE_MISSILE;      weapon.rackSize= 10;      weapon.minimumRange = WEAPON_NA;      weapon.shortRange= 5;      weapon.mediumRange= 11;      weapon.longRange = 18;      weapon.extremeRange = 22;      weapon.tonnage = .5f;      weapon.criticals = 1;      weapon.bv= 18;      weapon.ammoType = AmmoType.T_ROCKET_LAUNCHER;      weapon.flags |= F_ONESHOT;      weapon.toHitModifier=1;      return weapon;    }