自定义序列添加随机生成一包的按钮
This commit is contained in:
@@ -74,6 +74,9 @@ function scene.keyDown(key)
|
|||||||
else
|
else
|
||||||
sure=50
|
sure=50
|
||||||
end
|
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
|
elseif key=="tab"then
|
||||||
local W=WIDGET.active.sequence
|
local W=WIDGET.active.sequence
|
||||||
if kb.isDown("lshift","rshift")then
|
if kb.isDown("lshift","rshift")then
|
||||||
|
|||||||
Reference in New Issue
Block a user