
I've got a roll template up and working but would like to add a link in the output for a player to re-roll the attempt. More specifically, it needs to re-roll all the dice (d6) that were not 6s and then count the new number of 6s (successes) and add the number of successes from the first roll. E.g. First attempt comes up 6,6,5,2,1 = 2 successes. Re-roll rolls 3d6 and gets 6,2,1. Result of re-roll = 3 successes (2+1). How would I go about this in the sheet's html?