weapon.waterShortRange = 2; weapon.waterMediumRange = 4; weapon.waterLongRange = 6;
    public static WeaponType createMediumLaser() {        WeaponType weapon = new WeaponType();        weapon.name = "Medium Laser";        weapon.internalName = weapon.name;        weapon.mepName = "IS Medium Laser";        weapon.mtfName = "ISMediumLaser";        weapon.tdbName = "IS Medium Laser";        weapon.heat = 3;        weapon.damage = 5;        weapon.ammoType = AmmoType.T_NA;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 3;        weapon.mediumRange = 6;        weapon.longRange = 9;        weapon.tonnage = 1.0f;        weapon.criticals = 1;        weapon.flags |= F_LASER | F_DIRECT_FIRE;        weapon.bv = 46;        return weapon;    }