weapon.extremeRange = 8;
    public static WeaponType createBAISMediumPulseLaser() {        WeaponType weapon = new WeaponType();        weapon.name = "Medium Pulse Laser";        weapon.setInternalName("BAISMediumPulseLaser");        weapon.addLookupName("BA-IS Medium Pulse Laser");        weapon.heat = 0;        weapon.damage = DAMAGE_VARIABLE;        weapon.rackSize = 6;        weapon.toHitModifier = -2;        weapon.ammoType = AmmoType.T_NA;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 2;        weapon.mediumRange = 4;        weapon.longRange = 6;        weapon.tonnage = 0.0f;        weapon.criticals = 0;        weapon.flags |= F_LASER | F_BATTLEARMOR | F_DIRECT_FIRE;        weapon.bv = 0;        return weapon;    }