Lets assume a scenario in which you get 5 hull boxes knocked out and only 1 crew casualty.

Is the number of crew actions available the worst of the two? Or is it always the next open crew box?