* reformatting of skill checks table

* Including own Random "generator", more refactoring
This commit is contained in:
2021-04-22 17:36:10 +02:00
committed by GitHub
parent cc8387256a
commit 126dce828d
14 changed files with 127 additions and 208 deletions

View File

@ -1,4 +1,6 @@
const Random = require('random');
const { Random } = require("@dsabot/Random");
//const Random = require('random');
const roll = (numberOfDice, numberOfEyes, tag) => {
let dice = [];
let sum = 0;
@ -13,3 +15,4 @@ const roll = (numberOfDice, numberOfEyes, tag) => {
return { dice, sum };
};
module.exports = { roll };