Qdr /

Roll and Keep

Qdr.Rak History

Hide minor edits - Show changes to markup

Changed lines 5-8 from:
to:

(:sinceVersion: 1.2.0 :) (:lastVersion: 2.0.0 :)

Changed lines 34-35 from:

Supported since Quick Dice Roller 1.2.0
Parameter keep become optional since Quick Dice Roller 2.0.0

to:

Supported since Quick Dice Roller 1.2.0
Parameter keep become optional since Quick Dice Roller 2.0.0

Changed line 3 from:

(:abstract: Execute a Roll & Keep test. :)

to:

(:Summary: Execute a Roll & Keep test. :)

Changed lines 5-11 from:

(:params: \

to:

Execute a Roll & Keep test.

Usage

Format
rak(roll, poolSize[, keep])
Parameters
\
Changed lines 15-22 from:

:) (:return: The sum of the best keep out of poolSize evaluations of roll. :) (:examples: \

to:
Returns
The sum of the best keep out of poolSize evaluations of roll.

Description

The formula roll is evaluated poolSize times, but only the best keep results are summed together and returned by the function. If keep is equal or greater to poolSize the function just sums up all the outcome of roll. The maximum allowed value for poolSize is 50.

Examples

Changed line 25 from:

Some results generated by rak(1d6, 4, 3).\\

to:

Some results generated by rak(1d6, 4, 3).\\

Changed lines 29-44 from:

:) (:history: Supported since Quick Dice Roller 1.2.0[[<<]]Parameter keep become optional since Quick Dice Roller 2.0.0 :)

Format
rak(roll, poolSize[, keep])
Parameters
Returns
Description
Examples
History
to:

History

Supported since Quick Dice Roller 1.2.0
Parameter keep become optional since Quick Dice Roller 2.0.0

Added line 2:

(:category: Function :)

Changed line 22 from:

(:history: Supported since Quick Dice Roller 1.2.0\\Parameter keep become optional since Quick Dice Roller 2.0.0 :)

to:

(:history: Supported since Quick Dice Roller 1.2.0[[<<]]Parameter keep become optional since Quick Dice Roller 2.0.0 :)

Changed lines 2-3 from:

Execute a Roll & Keep test.

to:

(:abstract: Execute a Roll & Keep test. :)

Added lines 23-24:
Changed lines 4-5 from:

(:fmt: @@rak(roll, poolSize[, keep])@@ :) (:pars: \

to:

(:format: @@rak(roll, poolSize[, keep])@@ :) (:params: \

Changed line 10 from:

(:ret: The sum of the best keep out of poolSize evaluations of roll. :)

to:

(:return: The sum of the best keep out of poolSize evaluations of roll. :)

Changed lines 16-22 from:
Format
Parameters
Returns
to:

(:history: Supported since Quick Dice Roller 1.2.0\\Parameter keep become optional since Quick Dice Roller 2.0.0 :)

Format
rak(roll, poolSize[, keep])
Parameters
Returns
Changed lines 33-44 from:

Examples

The formula rak(1d6, 5) is the same as rak(1d6, 5, 5).

Some results generated by rak(1d6, 4, 3).

  • [1,6!,4!,3!] = 13 (the "!" mark the kept values)
  • [4!,1,2!,5!] = 11
  • [2,2!,6!,4!] = 12

History

Supported since Quick Dice Roller 1.2.0

Parameter keep become optional since Quick Dice Roller 2.0.0

to:
Examples
History
Changed lines 4-19 from:

Format

rak(roll, poolSize[, keep])

Parameters

  • roll: The formula to be tested.
  • poolSize: Number of times roll is evaluated.
  • keep: Optional. Number of roll to keep. If not specified is equal to poolSize

Returns

The sum of the best keep out of poolSize evaluations of roll.

Description

The formula roll is evaluated poolSize times, but only the best keep results are summed together and returned by the function.

If keep is equal or greater to poolSize the function just sums up all the outcome of roll.

to:

(:fmt: @@rak(roll, poolSize[, keep])@@ :) (:ret: The sum of the best keep out of poolSize evaluations of roll. :) (:desc: The formula roll is evaluated poolSize times, but only the best keep results are summed together and returned by the function.
If keep is equal or greater to poolSize the function just sums up all the outcome of roll.\\

Added lines 15-23:

:)

Format
Parameters
Returns
Description
Added lines 1-33:

(:title Roll and Keep:) Execute a Roll & Keep test.

Format

rak(roll, poolSize[, keep])

Parameters

  • roll: The formula to be tested.
  • poolSize: Number of times roll is evaluated.
  • keep: Optional. Number of roll to keep. If not specified is equal to poolSize

Returns

The sum of the best keep out of poolSize evaluations of roll.

Description

The formula roll is evaluated poolSize times, but only the best keep results are summed together and returned by the function.

If keep is equal or greater to poolSize the function just sums up all the outcome of roll.

The maximum allowed value for poolSize is 50.

Examples

The formula rak(1d6, 5) is the same as rak(1d6, 5, 5).

Some results generated by rak(1d6, 4, 3).

  • [1,6!,4!,3!] = 13 (the "!" mark the kept values)
  • [4!,1,2!,5!] = 11
  • [2,2!,6!,4!] = 12

History

Supported since Quick Dice Roller 1.2.0

Parameter keep become optional since Quick Dice Roller 2.0.0

Page last modified on October 06, 2014, at 02:15 PM