Skip to content

Releases: oganm/dice_syntax_gd

3.1.1 Godot 4

10 Jun 04:41
Compare
Choose a tag to compare
  • 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

28 May 21:31
Compare
Choose a tag to compare

Adds base_instance parameter to the functions to allow creation of custom functions for expression evaluations

3.0.0 Godot 4

29 Sep 08:15
Compare
Choose a tag to compare
  • 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

13 Sep 02:55
Compare
Choose a tag to compare

2.2.2 Godot 3

13 Sep 02:55
Compare
Choose a tag to compare

2.2.1 Godot 4

12 Sep 07:51
Compare
Choose a tag to compare

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

31 Aug 21:00
Compare
Choose a tag to compare

Adds a function to calculate standard deviation

2.2.0 Godot 3

31 Aug 20:58
Compare
Choose a tag to compare

Adds a function to calculate standard deviation

2.1.3 Godot 3

05 Apr 04:51
Compare
Choose a tag to compare
error handling for empty expressions

2.1.1 Godot 4

05 Apr 04:52
Compare
Choose a tag to compare
2.1.1gd4

–error handling for empty expressions