src/roller.js
function rollClassic( roll ) {
  const data = roll instanceof Roll ? roll : convertToRoll( roll );
  const { dice, count, modifier } = data;

  const rolls = [ ...new Array( count ) ].map(() => randomRoll( dice ));
  const summ = rolls.reduce(( prev, curr ) => prev + curr, 0 );
  const result = normalizeRollResult( summ + modifier );

  return new Result( data.toString(), result, rolls );
}
function rollClassic( roll ) {
  const data = roll instanceof Roll ? roll : convertToRoll( roll );
  const { dice, count, modifier } = data;

  const rolls = [ ...new Array( count ) ].map(() => randomRoll( dice ));
  const summ = rolls.reduce(( prev, curr ) => prev + curr, 0 );
  const result = normalizeRollResult( summ + modifier );

  return new Result( data.toString(), result, rolls );
}
function rollClassic ( roll ) { const data = roll instanceof Roll ? roll : convertToRoll ( roll ) ; const { dice , count , modifier } = data ; const rolls = [ ... new Array ( count ) ] . map ( ( ) => randomRoll ( dice ) ) ; const summ = rolls . reduce ( ( prev , curr ) => prev + curr , 0 ) ; const result = normalizeRollResult ( summ + modifier ) ; return new Result ( data . toString ( ) , result , rolls ) ; }
Rolls the dice from `Roll` object.

@func
@since v2.0.0
@param {Roll} roll - `Roll` object or similar
@return {Result}
@see roll
@see rollWod
@example
rollClassic(new Roll(10, 2, -1)); //=> { notation: '2d10-1', value: 14, rolls: [ 7, 8 ] }
rollClassic({ dice: 6 }); //=> { notation: 'd6', value: 4, rolls: [ 4 ] }
Rolls the dice from Roll object .