weapon.extremeRange = 34;
    public static WeaponType createISUltraAC2() {        WeaponType weapon = new WeaponType();        weapon.name = "Ultra AC/2";        weapon.setInternalName("ISUltraAC2");        weapon.addLookupName("IS Ultra AC/2");        weapon.heat = 1;        weapon.damage = 2;        weapon.rackSize = 2;        weapon.ammoType = AmmoType.T_AC_ULTRA;        weapon.minimumRange = 3;        weapon.shortRange = 8;        weapon.mediumRange = 17;        weapon.longRange = 25;        weapon.tonnage = 7.0f;        weapon.criticals = 3;        weapon.flags |= F_DIRECT_FIRE;        weapon.bv = 56;        String[] modes = { "Single", "Ultra" };        weapon.setModes(modes);        return weapon;    }