Releases: oganm/dice_syntax_gd
Releases · oganm/dice_syntax_gd
3.1.1 Godot 4
- add
/![integer]
syntax to allow setting explosion depth within a dice definition. Functions that accept explosion depth as an input use the lowest value - Success failures from the
s[range specification]
syntax returns floats instead of integers - When dropping specific values, dropped dice are correctly added to the array of dropped dice instead of being added as nested arrays
3.1.0 Godot 4
Adds base_instance parameter to the functions to allow creation of custom functions for expression evaluations
3.0.0 Godot 4
- Support for counting success fails. (eg. 5d6s>4f<3, rolls 5 d6s, count all dice 4 and above, subtract all dice 3 or lower)
- Allow for dropping/keeping specific dice rolls (eg 4d6d=1, this drops all 1s from the result)
- Create optional arguments for regex and random number generator objects to allow for reuse when desired
- More stringent checking of the syntax to disallow undefined behaviour
2.2.2 Godot 4
Full Changelog: 2.2.1gd4...2.2.2gd4
2.2.2 Godot 3
Full Changelog: 2.2.0...2.2.2gd3
2.2.1 Godot 4
Bugfix:
- Dropping highest dice
- Dictionary key of {0:1} returned when there's a dice array is changed to a float for consistency
2.2.0 Godot 4
Adds a function to calculate standard deviation
2.2.0 Godot 3
Adds a function to calculate standard deviation
2.1.3 Godot 3
error handling for empty expressions
2.1.1 Godot 4
2.1.1gd4 error handling for empty expressions