Update README.md with Mystery Gift explanation

This commit is contained in:
Goppier
2024-08-08 00:09:43 +02:00
committed by GitHub
parent d235fc8bbf
commit 9676de7682

View File

@@ -32,4 +32,18 @@ As discussed in the video, each egg events have interal randomization, but there
- 11 → L + R: Surskit
- 12 → L + R + A: Taillow
- 13 → L + R + B: Whismur
- 14 → L + R + A + B: Wynaut
- 14 → L + R + A + B: Wynaut
## Mystery Gift
One of the custom events we made is getting a Potion or a Pokéball from the delivery guy. Sometimes the delivery guy makes a mistake and gives you an item you weren't supposed to get. Below we'll go a bit more into detail on how this works exactly.
### How does the randomness work?
The scripts does an RNG call and performs a modulo 1000 operation on it to get a random value. Based on this outcome you either get:
- Potion (0 - 494)
- Pokéball (495 - 990)
- Rare item (991 - 999)
I won't spoil here what the rare items exactly are. But... if you would like to know, they are listed in my Discord server.
Link to the Discord:
https://discord.gg/pVGFUcCAVS