Gambling and games

I read somewhere that RNG appealed to some gamers the same way gambling appealed to people.
The gambler/gamer doesn't really know when the big payoff comes so it's a thrill to discover them.

I figure places like Las Vegas or the mobile gaming industry might have the answer to that one.
Is there some kind of reward/punishment ratio that one should adhere to when designing such a system?
Yes and no...

There is such a ratio, but it is different for different people.
Some people will abandon the game if there is even a hint of required random success, while others have no Problem with grinding for days to get their rare sword.

What should be avoided at all costs are game-breaking random results.
If for example one of the bosses needs a special sword to get past, and that sword has a 0.001% chance of dropping on one specific map, then no player will continue.
Sometimes weighted pools are a good route to go for drops over percentage drops. I'm actually surprised that RMMV doesn't use a weighted drop table similar to the skills table. Most other systems are using a weighted loot table nowadays.

Also Andar is correct. Loot tables in non gambling games are situational. If you factor it in to your overall design, it could vary dramatically.
Remember, the lower the percentage the less likely a player will ever experience using or seeing something in a play through. This could ultimately hide the work you did.
Percentages do hit a threshold of being pointless after around 15% or below. At that point, the amount of buffing you'd have to do to make the item appealing to get could cause serious balance issues.
Usually low percentages are reserved for items at the very end of a game.
I saw a report a few weeks ago on the evolution of casino gambling. Due to the gambling style change, from boomers to millenials, the game style changes too. And you can observe it in the casinos easily. An older person would sit at one machine and "gamble" all their money, until they either win, or lose all of their gambling budget for that day. A younger person is more likely to "drift between machines", based on the visual appeal of what's on the screen.
Essentially, though, all of the machines are designed to part you with your money one way or another. So the incentive is to let you win a little bit back, but overtime lose.
Extra credits did a fun piece on it:

Original thread: https://forums.rpgmakerweb.com/threads/gambling-and-games.89455/