自定义序列添加随机生成一包的按钮

This commit is contained in:
MrZ626
2020-12-21 18:54:26 +08:00
parent 83253c76e8
commit 06b9dc86d6

View File

@@ -74,6 +74,9 @@ function scene.keyDown(key)
else
sure=50
end
elseif key=="="then
local l={1,2,3,4,5,6,7}
repeat scene.keyDown(rem(l,math.random(#l)))until not l[1]
elseif key=="tab"then
local W=WIDGET.active.sequence
if kb.isDown("lshift","rshift")then