0% found this document useful (0 votes)
90 views3 pages

Dice Roll Expressions

This cheat sheet summarizes advanced dice roll expressions in Skirmish VTT. It covers basic arithmetic and dice rolling, dropping or keeping highest/lowest rolls, counting successes/failures, exploding dice, rerolling, combining expressions, working with arrays, and value functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
90 views3 pages

Dice Roll Expressions

This cheat sheet summarizes advanced dice roll expressions in Skirmish VTT. It covers basic arithmetic and dice rolling, dropping or keeping highest/lowest rolls, counting successes/failures, exploding dice, rerolling, combining expressions, working with arrays, and value functions.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Skirmish VTT

Advanced Dice Roll Expressions


Cheat Sheet
Basic Arithmetic

11/3 - divide and round down


7+/3 - divide and round up (2.333 -> 3)
8~/3 - divide and round up or down, whichever is closer (2.333 -> 2)
7/4 (or 7-/4) - divide and round down (1.75 -> 1)
7%4 - divide and get the remainder (3)
2+**-2 - 2 powered to -2, rounded up (0.25 -> 1)
2~**-2 - 2 powered to -2, rounded to whichever is closer (0.25 -> 0)
2**3 (or 2-**3) - 2 powered to 3, rounded down (8)

Basic Dice Rolling

2d6 - roll 2 dice of 6 faces (1 to 6)


2d[2..4] - roll 2 dice with faces valued 2, 3, 4
2d[-1, 0, 1] - roll 2 dice with faces valued -1, 0 and 1
2dF() - roll 2 fudge dice (same as 2d[-1, 0, 1]
2dUB() - roll 2 ubiquity dice (same as 2d[0, 1]

Drop Highest/Lowest

4d6{dl1} - roll it and drop the 3 lowest dice


6d4{dh3} - roll it and drop the 3 highest dice
3d10{d<=3} - roll it and drop any results <= 3

Keep Highest/Lowest

5d8{kl4} - roll it and keep the 3 lowest dice


4d3{kh3} - roll it and keep the 3 highest dice
4d12{k>=4} - roll it and keep any results >= 3

Count Successes/Failures

Note that successes count as 1, failures as -1 and neither as 0

5d6{>=4} - roll it and count results >= 4 as successes

6d4{>=4 - <=1} - roll it and count results >= 4 as successes and <= 1 as failures. If you get
more successes than failures, it will only show the successes. If you roll more failures than
successes, it will only show the failures.
5d8{>=4 or <=2} - roll it and count results that are >= 4 or <= 2 as successes

6d12{>=3 and <=10} - roll it and count results that are both >= 3 and <= 10 (between 4 and 5)
as successes

5d6{>=4, <=2} - roll it and count separately results >= 4 and results <= 2

Exploding Dice

Exploding dice use parentheses, not curly brackets.

5d6e - roll it exploding 6s (exploding means if you get a 6 reroll it and add it to the pool of
results)

5d8eo - same as above, but each die can only be exploded once

6d12e(>=5) - roll it exploding 5s and 6s.

5d6ep - penetrating exploding; roll it, but each exploding die has -1 each time it is exploded
(can be used with 'o' at the end for once)

5d6ec - compounding exploding; roll it, but each exploding die is summed to count as a single
big die (e.g, if you do 2d6ec and one of the die gets a 6, a 6 and a 5 that die will count as a 17)
(can be used with 'o' at the end for once)

Rerolling

5d6r - roll it rerolling 1s (rerolling replaces the old result with the new one)
5d6ro - same as above, but rerolling 1s can only be done once
5d6r(<=2) - roll it rerolling 1s and 2s

Combining Expressions

5d6{kh4}{/5} - roll it, keep highest 4 dice and then divide each one by 2
5d6{k>=4}{len} - roll it, keep dice >= 4 and then count how many dice are there (mostly the
same as 5d6{>= 4} really)

Arrays

Expressions such as 5d6 are ultimately expanded into arrays (e.g. [3, 3, 6, 1, 2])

[3..6] - 3 to 6, expands to [3, 4, 5, 6]


[4x3] - a 4 repeated 3 times, expands to [4, 4, 4]
[3, 3, 6, 1, 2]{kh2} - keep highest 2 values, so [3, 6]

Value Functions

COERCE_VALUE(1d6, 2, 4) - coerce the value between 1 and 6 to be >= 2 and <=4


MIN_VALUE(1d6, 1d6) - returns the min value between the 2 given
MAX_VALUE(1d6, 1d6) - returns the max value between the 2 given
ABS_VALUE(-5) - returns the absolute (positive) value (5 in this case)

Array Functions

COERCE_ARRAY(5d6, 2, 4) - roll it and make each value be between 2 and 4


SORTASC_ARRAY(5d6) - roll it and sort results from lowest to highest
SORTDESC_ARRAY(5d6) - roll it and sort results from highest to lowest
ABS_ARRAY(5d6) - roll it and make each value absolute.

You might also like