He won 18 games and lost four with an earned run average of 2.98 and 218 strikeouts .