Weapons fire is not an "ability"; it is a special attribute. A proper test would be to give troops this capability, then see if loading troops with Small Combat Sensors onto a ship increases the ship's to-hit. Of course, since to-hit isn't actually displayed anywhere in the UI, you'd have to get some pretty powerful combat sensors on your troops for testing purposes, but this is a useful idea for modding in "hero" units - give them an exorbitant build and/or maintenance cost and presto!
