weapon.extremeRange = 20;
    public static WeaponType createISRAC5() {        WeaponType weapon = new WeaponType();        weapon.name = "Rotary AC/5";        weapon.setInternalName("ISRotaryAC5");        weapon.addLookupName("IS Rotary AC/5");        weapon.heat = 1;        weapon.damage = 5;        weapon.rackSize = 5;        weapon.ammoType = AmmoType.T_AC_ROTARY;        weapon.minimumRange = 0;        weapon.shortRange = 5;        weapon.mediumRange = 10;        weapon.longRange = 15;        weapon.tonnage = 10.0f;        weapon.criticals = 6;        weapon.flags |= F_DIRECT_FIRE;        weapon.bv = 247;        String[] modes = { "Single", "2-shot", "4-shot", "6-shot" };        weapon.setModes(modes);        // explosive when jammed        weapon.explosive = true;        return weapon;    }