Skip to main content
Version: Current

Chance System

This section will be obsolete as of v3.9

This is how the chance system works in Crazy Crates when finding the display item or final prize of a crate. Don't use decimals in the Chance option as that is what the Max Range is meant for. ( i.e 0.3 )

Checking all prizes:

  1. Gets the next prize on the list.
  2. Checks if its chance is successful.
  3. If is successful then it puts the prize into a winning list and if not successful it does nothing.
  4. Moves on to the next prize and goes back to step #1 until the last prize is done with.

After all, prizes have been checked:

  1. Goes into the winning list and picks a random prize from that winning list. (It does not worry about chances in this state)
  2. Once the prize is picked it is the prize that is shown on the display or is given to the player as the final prize depending on what state the crate is currently in.

How the Chance/Max Range works:

The max range option is there to allow for higher chances by using math to allow for decimals. This uses basic math to find out the final chance that the prize has.

Examples: (Chance / Max Range * 100 = Final Chance)

ChanceMax RangeFinal Chance
1510015%
1510001.5%
15100000.15%
151000000.015%
1510000000.0015%
15100000000.00015%