oganm/dice_syntax_gd

Clarify probabilities with built in randomness

oganm opened this issue · 0 comments

oganm commented

built in godot functions like randi, randi_range can be technically used within the dice syntax. However dice_syntax functions dice_probs, parsed_dice_probs, expected_value and standard_deviation calculate probabilities by getting results for every possible dice without taking any non-dice randomness into account. If built in godot functions are used to introduce additional randomness dice_syntax probability calculations will be wrong