Hello coders and gamers!
I want to create boosts form my "prison" gamemode.
The problem is that if boost is active, the percentage just doesn't work. it's always 100%
if event-world is "kopania":
if block is stone:
chance of {chance::%player's uuid%}:
add 1 xp to the player
if block is oak log:
chance of {chance2::%player's uuid%}:
add 1 xp to the player
...
set {chance::%player's uuid%} to 10
...
set {chance2::%player's uuid%} to 10```
If someone need more code, just say.