diff options
Diffstat (limited to 'src/script/api/script_base.hpp')
-rw-r--r-- | src/script/api/script_base.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/script_base.hpp b/src/script/api/script_base.hpp index 9384cbf80..a01325820 100644 --- a/src/script/api/script_base.hpp +++ b/src/script/api/script_base.hpp @@ -59,6 +59,7 @@ public: * After all, it is a random function. * @param out How many times it should return true. * @param max Out of this many times. + * @pre \a out is at most equal to \a max. * @return True if the chance worked out. */ static bool Chance(uint out, uint max); |