MysticCity / MinigamesAPI

Rich MinigamesAPI supporting different types of Minigames
20 stars 15 forks source link

Skywars feature request #254

Open grandonblake opened 7 years ago

grandonblake commented 7 years ago

Is it possible for each item to have a percentage to show up in a chest instead of having each chest have percentages?

And how about an option to have "x" number of items with "x" percents so basically there will be 40% chance for 5 items to show up in a crate or 60% chance for 4 items to show up in a crate

mepeisen commented 7 years ago

You may create exactly one chest and add a percentage value at the end of the items. By default each chest item has a chance of 100% to appear within the chest. Setting the value to 50% (f.e. 1*64%50) you have a 50% chance to get the item.

https://github.com/MysticCity/MinigamesAPI/wiki/MGSkyWars for details.

I added a new mode (items mode) to add additional items on top of chests. This setup lets you specify additional setup of items with chances to get them for each single setup.

Hope it helps to get balanced setups. I will move it to the next version and will add some more setup variants. I am simply playing around with some scenarios. seems that we are back in school again with stochastic.

Latest snapshot can be found at http://www.minigameslib.de/downloads_en.php It will be build within the next minutes.

mepeisen commented 7 years ago

moved to 2.0