Files
Bubberstation/code/game/gamemodes
Ghom daee00d253 [NO GBP] fixing dynamic (#77734)
## About The Pull Request
Yeah, the built-in `arctan()` proc actually returns degrees rather than
radians so I had to revert the change to the macro. Also, I had to
revamp the whole formula once again because the old one was eh. The
random location of -0.5 to 0.5 meant it never went lower/higher than the
40-60% threat range, and the RNG deviation was crappy.

As a bonus, I slighly lowered the threat requirements for the wizard's
gun/magic/events rituals, since reaching a full 100 is a smidge less
likely now (previously the odds were one in ten if the threat score was
higher than 90%, now it's a 0.5% chance in total, as the threat is
rounded to intervals of 1).

## Why It's Good For The Game
This will fix #77726.

Here's the updated desmos graph:
https://www.desmos.com/calculator/fpc7gwtwla (the red curve is the one
without the deviation, the black one is with the deviation)

Gimme a few minutes to run one last test, tho. I cannot trust myself too
much.

## Changelog

🆑
fix: Fixed dynamic.
/🆑
2023-08-18 20:18:17 +00:00
..
2023-08-18 20:18:17 +00:00
2023-07-22 17:16:22 +02:00
2023-07-01 15:36:26 +01:00