Skip to content

Commit

Permalink
entryChrg为on且没有手中块时按移动键不再立刻充满das
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Jul 30, 2024
1 parent 68a9422 commit fe0ef2e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions assets/game/brikPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2042,8 +2042,8 @@ local baseEnv={
asp=26, -- *Auto shift period
ash=26, -- *Auto Shift Halt, discharge asd when piece spawn
softdropSkipAsd=true, -- *Skip asd when softdrop
entryChrg='on', -- on/off/full/cancel charge when move before spawn
wallChrg='on', -- on/off/full/cancel charge when move towards wall
entryChrg='on', -- on/off/full/break charge when move before spawn
wallChrg='on', -- on/off/full/break charge when move towards wall
stopMoveWhenSpawn=false, -- Stop moving when piece spawn
stopMoveWhenRotate=false, -- Stop moving when rotate
stopMoveWhenHold=false, -- Stop moving when hold
Expand Down
2 changes: 1 addition & 1 deletion assets/game/mechanicLib/brik/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local function move(P,dir,canBuffer)
end
end
else
if P.settings.entryChrg=='on' or P.settings.entryChrg=='full' then
if P.settings.entryChrg=='full' then
P.moveCharge=P.settings.asd
end
if canBuffer then
Expand Down
2 changes: 1 addition & 1 deletion assets/game/mechanicLib/gela/actions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local function move(P,dir,canBuffer)
end
end
else
if P.settings.entryChrg=='on' or P.settings.entryChrg=='full' then
if P.settings.entryChrg=='full' then
P.moveCharge=P.settings.asd
end
if canBuffer then
Expand Down

0 comments on commit fe0ef2e

Please sign in to comment.