mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 07:37:03 +00:00
[9386] Store some config values in Rate emun.
This commit is contained in:
parent
6e5b74e0ca
commit
5368751c13
33 changed files with 163 additions and 164 deletions
|
|
@ -62,6 +62,8 @@ MANGOS_DLL_SPEC float rand_norm_f(void);
|
|||
* With an FPU, there is usually no difference in performance between float and double. */
|
||||
MANGOS_DLL_SPEC double rand_chance(void);
|
||||
|
||||
MANGOS_DLL_SPEC float rand_chance_f(void);
|
||||
|
||||
/* Return true if a random roll fits in the specified chance (range 0-100). */
|
||||
inline bool roll_chance_f(float chance)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue