We have temporarily disabled Baermar Uraz's Ugly Sweater Cosmetic (all queues) due to issues affecting gameplay.
Visit the Kill Switch Master List for more information on this and other current known issues: https://forums.bhvr.com/dead-by-daylight/kb/articles/299-kill-switch-master-list
Visit the Kill Switch Master List for more information on this and other current known issues: https://forums.bhvr.com/dead-by-daylight/kb/articles/299-kill-switch-master-list
It's stats time! Sign up for our newsletter with your BHVR account by January 13 to receive your personalized 2024 Dead by Daylight stats!
Get all the details on our forums: https://forums.bhvr.com/dead-by-daylight/discussion/436478/sign-up-now-to-receive-a-recap-of-your-2024-dead-by-daylight-stats/p1?new=1
Get all the details on our forums: https://forums.bhvr.com/dead-by-daylight/discussion/436478/sign-up-now-to-receive-a-recap-of-your-2024-dead-by-daylight-stats/p1?new=1
How to Random
Kaelum
Member Posts: 994
Since there seems to be a significant problem with the game performing random operations in the game, I thought I give you some help. When you want to guarantee that tries is between a min and a max number, which is significantly more fair than a random percentage, here is some pseudo code:
int min = 1;
int max = 5;
float threshold = 1.0 / (max - min + 1);
int count = 0;
bool Try() {
if (++count < min) { return false; }
float rand = Random(); // 0.0 to 1.0
return (rand <= threshold || count >= max);
}
When Try() is true, the operation is complete. Instead of traps taking only 1, or well over 13 attempts to get out, try this instead and maybe set max to 6? For the 4% hook, set max to 25, simple as that.
Post edited by Kaelum on
0