If a big magnet protects spaceship earth from cosmic rays, a smaller magnet should protect spaceship enterprise from death rays.
But seriously, my take was always that there was something like an inner and an outer hull, and by polarizing them with opposing charges you might reinforce them so explosions are less likely to blast the outer hull off. Kind of like a magnetic lock around the entire ship.
If the party doesn’t find you handsome, they should at least find you handy.