Files
BG3-Mutant/Scripts/thoth/helpers/mutant.khn
2025-01-15 02:36:41 +05:30

4 lines
132 B
Plaintext

function SuccessChance(threshold)
local random_num = math.random(0,99)
return ConditionResult(random_num < threshold)
end