engine:basics:mathematics

Mathematics

The engine can evaluate mathematical expressions. It follows all usual customs.

You can use brackets as you like. For available Operations, see here: Operators

Examples

Input Evaluates to Result
2 2 2
2+2 4 4
4*2+2 8 + 2 10
4*(2+2) 4 * 4 4
2(2+2) 2 * 4 8
2d6+2 roll 2d6 and add 2 a random value between 3 and 8