From Ohmnibus.NET

QdrFr: Maximum

"QdrFr.Max" n'existe pas.

Version anglaise:


Return the highest of two values.

Usage

Format
max(firstRoll, secondRoll)
Parameters
firstRoll: First formula to be tested.
secondRoll: First formula to be tested.
Returns
The highest value obtained.

Description

The values of firstRoll and secondRoll are evaluated. The function returns the highest value obtained.

Examples

The formula 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.
The formula 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

History

Supported since Quick Dice Roller 1.2.0
New output since Quick Dice Roller 2.0.0

Récupéré sur http://www.ohmnibus.net/wiki/index.php?n=QdrFr.Max
Page mise à jour le 23 May 2018 à 18h44