4 lines
132 B
Plaintext
4 lines
132 B
Plaintext
function SuccessChance(threshold)
|
|
local random_num = math.random(0,99)
|
|
return ConditionResult(random_num < threshold)
|
|
end |