Prize Draw Plugin

Sorry for my English and cultural difference that may arouse misunderstandings.

I would like to have a plugin enabling a feature which lets the player receive an item/some items as a prize depending on the player's luck. I can assign prizes by using tags like <prize: 10%> in the tag of items.

The above can be shown visually and there are one to three  results(prizes) for the player to choose from.

Thanks for any advice and help.
How does the player's luck affect the chances for winning a prize? What's the formula? How is it decided whether the player wins 1, 2, or 3 prizes?
@DreamX

I suggest the plugin provide a default formula. Besides, like the harm formula in the skill database, game makers can modify the formula.

I place high emphasis on flexibility.

So, just do it with your own rules and ways.

Original thread: https://forums.rpgmakerweb.com/threads/prize-draw-plugin.53829/