Crate odds
11 months ago
United States

I spent a while looking at the code for crate odds and I believe this is what it is:

  • If there are no enemies alive, the function returns cash. This is a default or fallback behavior with there are no threats and its hard to break a crate with no enemies
  • If the player's health is less than 25% of their maximum health, the function returns health (testing and experience have shown that this isnt always true)
  • If the player's health is at least 25% of the maximum (e.health / e.maxHealth >= .25). Then the weighted random selection process picks the index 1 from the array b, which corresponds to the freeze bonus (e).
  • this can be between 7.5% and 50% chance of a freeze depending on ammo amounts I believe the best odds are full health and full ammo

I think this can help because it would mean that breaking a the first crate on level 3 with minigun so that shotgun still is full would have a 50/50 chance instead of a small chance of shotgun ammo. idk tho still need to be tested

Canada
4d9r
He/Him, They/Them
11 months ago

what about the mini enemies?

Canada
4d9r
He/Him, They/Them
11 months ago

oh ok

Game stats
Followers
22
Runs
266
Players
28
Latest news
Deletion of the "Other" category

"Other" will be removed from the CMG/FP category due to having no runs and no reason to exist.

If a version of the game is found with enough differences to warrant an extra variable, it will be added.

Thankyou.

2 years ago
Beans
3 years ago
Latest threads
Posted 2 hours ago
3 replies
Posted 11 months ago
3 replies
Posted 11 months ago
Posted 11 months ago
0 replies
Posted 1 year ago
1 reply
Moderators