Files
BG3-Mutant/Scripts/thoth/helpers/mutant.khn

4 lines
132 B
Plaintext
Raw Permalink Normal View History

2025-01-15 02:36:41 +05:30
function SuccessChance(threshold)
local random_num = math.random(0,99)
return ConditionResult(random_num < threshold)
end