W. Va. Code § 15-2-28
(b) Any member of the fund who has previously served on active military duty is entitled to and shall receive credit on the minimum period of service required by law for retirement pay from the service of the West Virginia State Police under the provisions of this article for a period equal to the active military duty not to exceed five years, subject to the following:
(c) The amount of retirement pay to which any member is entitled shall be calculated and determined as if he or she had been receiving for the period of his or her active military duty a monthly salary from the agency equal to the average monthly salary which he or she actually received from the agency for his or her total service with the agency exclusive of the active military duty. The superintendent shall transfer and pay into the fund from moneys appropriated for the agency, a sum equal to 18 percent of the aggregate of the salaries on which the retirement pay of all members has been calculated and determined for their periods of active military duty. In addition, any person who, while an employee of the agency was commissioned, enlisted or inducted into the Armed Forces of the United States or, being a member of the reserve officers' corps, was called to active duty in the Armed Forces between September 1, 1940, and the close of hostilities in World War II, or between June 27, 1950, and the close of the armed conflict in Korea on July 27, 1953, between August 1, 1964, and the close of the armed conflict in Vietnam, or during any other period of armed conflict by the United States whether sanctioned by a declaration of war by the Congress or by executive or other order of the President, is entitled to and shall receive credit on the minimum period of service required by law for retirement pay from the service of the West Virginia State Police for a period equal to the full time he or she has or shall, pursuant to the commission, enlistment, induction or call, have served with the Armed Forces subject to the following: