Jiggmin's Village

Full Version: Item Block Probabilities
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
In addition to being able to set which items a player can get, it'd be cool if those items could have assigned probabilities, due to possible issues with floating points it might be best to do it in a way where you enter ratios.
E.g. if I allow teleport and super jump, and I put a "1" for teleport and a "9" for super jump, the probability for teleport would be 1/(1+9) = 0.1 and the probability for super jump would be 9/(1+9) = 0.9. Here the "no item" could be explicitly listed.