所属分类:其他-杂项,游戏
中奖概率是服务端算法来处理的。你前台放概率不安全还要被喷死的。
js 代码改一下,估计当时比较冲忙算法错了。目前没法改 只有重新写了。。
可以改以下代码就行了
right: (index + 2) % listNumber * thisWidth //改成 right: (index + 4) % listNumber * thisWidthbottom: (index - 2) % listNumber * thisHeight改成bottom: (index - 5) % listNumber * thisHeight
更改样式就可以直接用啦 还是不错的
扩展性高