Return the highest of two values.
firstRoll: First formula to be tested.
secondRoll: First formula to be tested.
- The highest value obtained.
The values of firstRoll and secondRoll are evaluated. The function returns the highest value obtained.
max(1d6-2, 1) will generate values ranging from 1 to 4, but these value aren't balanced: there are 3 chances out of 6 to obtain a 1.
max(1d10, 1d8) will return the higher value obtained from a roll of 1d10 and a roll of 1d8:
[!8>5] = 8
[!9>6] = 9
[2<3!] = 3
Supported since Quick Dice Roller 1.2.0
New output since Quick Dice Roller 2.0.0