dice_syntax_gd icon indicating copy to clipboard operation
dice_syntax_gd copied to clipboard

Clarify probabilities with built in randomness

Open oganm opened this issue 1 year ago • 0 comments

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

oganm avatar Feb 09 '24 22:02 oganm