* Get a random value between min and max. * * Stack: 1 - The minimum value. * 2 - The maximum value. * * @param script The script engine to operate on. * @return The random value. */
| 128 | * @return The random value. |
| 129 | */ |
| 130 | uint16 Script_General_RandomRange(ScriptEngine *script) |
| 131 | { |
| 132 | return Tools_RandomLCG_Range(STACK_PEEK(1), STACK_PEEK(2)); |
| 133 | } |
| 134 | |
| 135 | /** |
| 136 | * Display a modal message. |
nothing calls this directly
no test coverage detected