summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/shr_roll.erl')
-rw-r--r--src/shared/shr_roll.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/shr_roll.erl b/src/shared/shr_roll.erl
index eb0f21e..2c75ca6 100644
--- a/src/shared/shr_roll.erl
+++ b/src/shared/shr_roll.erl
@@ -45,9 +45,9 @@ between (Min, Max) ->
Diff = (Max - Min),
(Min + (rand:uniform(Diff + 1) - 1)).
--spec percentage () -> 0..100.
+-spec percentage () -> 1..100.
percentage () ->
- between(0, 100).
+ between(1, 100).
-spec percentage_with_luck
(