Jiggmin's Village
Item Block Probabilities - Printable Version

+- Jiggmin's Village (https://jiggmin2.com/forums)
+-- Forum: Mt. Olympus (https://jiggmin2.com/forums/forumdisplay.php?fid=11)
+--- Forum: Bugs and Suggestions (https://jiggmin2.com/forums/forumdisplay.php?fid=37)
+---- Forum: PR2 Suggestions (https://jiggmin2.com/forums/forumdisplay.php?fid=45)
+---- Thread: Item Block Probabilities (/showthread.php?tid=3810)



Item Block Probabilities - Camer the Dragon - 14th March 2022

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.