West Virginia Code
Article 2. Costs Generally
§59-2-8. Costs on Final Judgment; Judgment For, or Discontinuance as To, Some of Defendants

Except where it is otherwise provided, the party for whom final judgment is given in any action, or in a motion for judgment for money, whether he be plaintiff or defendant, shall recover his costs against the opposite party; and when the action is against two or more, and there is judgment for or discontinuance as to some but not all of the defendants, those for whom there is judgment, or as to whom there is such discontinuance, shall recover their costs.