Quote:
Originally Posted by loramin
[You must be logged in to view images. Log in or Register.]
Unfortunately only wiki admins can edit the Javascript, but if you want to send me a new version I'd be happy to update the wiki with it.
|
Great! I'd say the main thing that needs improving at the moment is the display of the output arrays.
In playground.io the console.log() function shows the array index and the value. For example:
Index 0: 100,
Index 1: 22,
Index 2: 1,
...
The wiki version just shows the value:
100,
22,
1,
...
The wiki calculator should show the array index and value. For the damage arrays, the index is the damage number, and the value is the number of times the damage number was rolled. For the roll array, the index is the dice roll and the value is the number of times it was rolled.
The array variables I am referring to are:
uniqueMainHandDamageValueCountArray
uniqueOffHandDamageValueCountArray
uniquediceRollCountArray
If they were displayed in tables that would probably be easy to read as well.