File tree Expand file tree Collapse file tree 2 files changed +24
-6
lines changed Expand file tree Collapse file tree 2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change @@ -658,9 +658,17 @@ function BP:popNext(ifHold)
658
658
659
659
self :triggerEvent (' afterSpawn' )
660
660
661
- if self .keyBuffer .hardDrop then -- IHdS
662
- self .keyBuffer .hardDrop = false
663
- self :brikDropped ()
661
+ if self .settings .bufferDrop then -- IHdS
662
+ if self .settings .bufferDrop == ' hold' then
663
+ if self .keyState .hardDrop then
664
+ self :brikDropped ()
665
+ end
666
+ elseif self .settings .bufferDrop == ' buffer' then
667
+ if self .keyBuffer .hardDrop then
668
+ self .keyBuffer .hardDrop = false
669
+ self :brikDropped ()
670
+ end
671
+ end
664
672
end
665
673
end
666
674
--- @return Techmino.Brik.Cell
@@ -2041,6 +2049,7 @@ local baseEnv={
2041
2049
bufferMove = ' buffer' , -- buffer/hold to do initial move
2042
2050
bufferRotate = ' buffer' , -- buffer/hold to do initial rotate
2043
2051
bufferHold = ' buffer' , -- buffer/hold to do initial hold
2052
+ bufferDrop = ' buffer' , -- buffer/hold to do harddrop
2044
2053
aHdLock = 60 , -- Auto harddrop lock
2045
2054
mHdLock = 40 , -- Manual harddrop lock
2046
2055
freshLockInASD = true , -- Fresh lockDelay in auto shift delay
Original file line number Diff line number Diff line change @@ -463,9 +463,17 @@ function GP:popNext()
463
463
464
464
self :triggerEvent (' afterSpawn' )
465
465
466
- if self .keyBuffer .hardDrop then -- IHdS
467
- self .keyBuffer .hardDrop = false
468
- self :gelaDropped ()
466
+ if self .settings .bufferDrop then -- IHdS
467
+ if self .settings .bufferDrop == ' hold' then
468
+ if self .keyState .hardDrop then
469
+ self :gelaDropped ()
470
+ end
471
+ elseif self .settings .bufferDrop == ' buffer' then
472
+ if self .keyBuffer .hardDrop then
473
+ self .keyBuffer .hardDrop = false
474
+ self :gelaDropped ()
475
+ end
476
+ end
469
477
end
470
478
end
471
479
function GP :getGela (mat )
@@ -1453,6 +1461,7 @@ local baseEnv={
1453
1461
dblMoveRelInvRedir = true ,
1454
1462
bufferMove = ' buffer' ,
1455
1463
bufferRotate = ' buffer' ,
1464
+ bufferDrop = ' buffer' ,
1456
1465
aHdLock = 60 ,
1457
1466
mHdLock = 40 ,
1458
1467
freshLockInASD = true ,
You can’t perform that action at this time.
0 commit comments