I think this shows one of the big differences between Star Trek and Dr Who.
Back during the 4th Doctor, a writer threw in a line about there being a limit of 12 regenerations. That is exactly the sort of thing that Star Trek tended to conveniently forget or kick into touch long before it became significant. On Dr Who they deliberately brought the plot constraint forward with a gratuitous regeneration and then made it the central issue in a blockbuster episode.
They could have made the torpedo situation a real constraint and the decision to fire them significant. But they didn’t. In fact the shows tended to be rather short on understandable conflicts, they tended to be technobabble followed by some deus ex machina solution.