Todo
Closed this issue · 2 comments
oganm commented
consider proper parsing of inter-dice maths so that arbitrary operations can be performedimplemented in 2.1 expression branch- godot4 port of 2.1
oganm commented
the expression class doesn't seem to have a documented way of getting parsed data. as it is written, it would be easy to implement dice rolling but harder to implement probability calculations
oganm commented
quick and dirty translation to godot4 returns different/wrong results for probabilities
eg try: dice_syntax.dice_probs('4d6d1')
not diagnosed yet
slice for arrays works differently for godot4, end is no longer inclusive. removing the -1s added to address that fixes the issue