weapon.flags |= F_DIRECT_FIRE | F_ENERGY;
weapon.flags |= F_DIRECT_FIRE | F_ENERGY | F_BURST_FIRE;
    private static WeaponType createISPlasmaRifle() {        WeaponType weapon = new WeaponType();        weapon.techLevel = TechConstants.T_IS_LEVEL_2;        weapon.name = "Plasma Rifle";        weapon.setInternalName("ISPlasmaRifle");        weapon.heat = 10;        weapon.damage = DAMAGE_VARIABLE;        weapon.rackSize = 1;        weapon.ammoType = AmmoType.T_PLASMA;        weapon.minimumRange = WEAPON_NA;        weapon.shortRange = 5;        weapon.mediumRange = 10;        weapon.longRange = 15;        weapon.extremeRange = 20;        weapon.tonnage = 6.0f;        weapon.criticals = 2;        weapon.flags |= F_DIRECT_FIRE | F_ENERGY;        weapon.bv = 337;        weapon.cost = 480000;        return weapon;    }