请描述您的问题地址:https://cloud.tencent.com/act/bargin?fromSource=gwzcw.634679.634679.634679Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.100 Safari/537.36
我有一个想法,但我不知道怎么做:D基本上就像在游戏中一样,例如,每6个小时你可以打开一个箱子,在那里你可以免费抓取一些物品。现在我想有一个箱子,用户可以打开每6个小时,我有在mysql服务器上写的项目,其中每个项目给用户的经验点。但是该怎么做呢?现在每个项目都有自己的偶然值,例如nothing = 75% of getting it sword_1 = 15% of getting it sword_2 = 30% of getting it,你知道怎么做吗