Attacks can now be rolled with advantage from the stats tab

TODO the action viewer as well still
This commit is contained in:
Stefan Zermatten
2022-02-25 13:44:09 +02:00
parent f79a6d98ec
commit 59c69a46a8
6 changed files with 159 additions and 67 deletions

View File

@@ -16,7 +16,7 @@ const rollArray = {
};
},
toString(node){
return `${node.diceNum || ''}d${node.diceSize} [${node.values.join(', ')}]`;
return `${node.diceNum || ''}d${node.diceSize} [ ${node.values.join(', ')} ]`;
},
reduce(node, scope, context){
const total = node.values.reduce((a, b) => a + b, 0);