新增initSkip功能,允许开局跳过若干个方块
This commit is contained in:
@@ -24,7 +24,7 @@ return{
|
||||
drop=5,lock=30,
|
||||
task=function(P)P.modeData.maxCombo=0 end,
|
||||
dropPiece=check_c4w,
|
||||
freshLimit=15,ospin=false,
|
||||
freshLimit=15,ospin=false,initSkip=true,
|
||||
bg='rgb',bgm='oxygen',
|
||||
},
|
||||
pauseLimit=true,
|
||||
|
||||
@@ -22,7 +22,7 @@ return{
|
||||
drop=30,lock=60,infHold=true,
|
||||
task=function(P)P.modeData.maxCombo=0 end,
|
||||
dropPiece=check_c4w,
|
||||
freshLimit=15,ospin=false,
|
||||
freshLimit=15,ospin=false,initSkip=true,
|
||||
bg='rgb',bgm='oxygen',
|
||||
},
|
||||
pauseLimit=true,
|
||||
|
||||
@@ -35,7 +35,7 @@ return{
|
||||
fieldH=20,maxOver=1e99,
|
||||
nextCount=6,nextStartPos=1,
|
||||
holdCount=1,infHold=false,phyHold=false,
|
||||
ospin=true,deepDrop=false,
|
||||
ospin=true,deepDrop=false,initSkip=false,
|
||||
RS="TRS",
|
||||
sequence='bag',
|
||||
seqData={1,2,3,4,5,6,7},
|
||||
|
||||
@@ -1904,8 +1904,13 @@ function Player:act_softDrop()
|
||||
end
|
||||
end
|
||||
function Player:act_hold()
|
||||
if self.control and self.waiting==-1 then
|
||||
self:hold()
|
||||
if self.control then
|
||||
if self.waiting==-1 then
|
||||
self:hold()
|
||||
end
|
||||
elseif self.gameEnv.initSkip then
|
||||
rem(self.nextQueue,1)
|
||||
self.newNext()
|
||||
end
|
||||
end
|
||||
function Player:act_func1()
|
||||
|
||||
Reference in New Issue
Block a user