Added a method to filter a unit's weapon options.