Skip to content

Commit

Permalink
注释里的20G改为infG
Browse files Browse the repository at this point in the history
  • Loading branch information
MrZ626 committed Nov 19, 2024
1 parent 95e1cd8 commit 766b636
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions assets/game/brikPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ function BP:freshGhost()
self.ghostY=self.ghostY-1
end

-- 20G check
-- infG check
if (self.settings.dropDelay<=0 or self.downCharge and self.settings.adp==0) and self.ghostY<self.handY then
local dY=self.ghostY-self.handY
self:moveHand('drop',dY)
Expand Down Expand Up @@ -1565,7 +1565,7 @@ function BP:tickStep()
if self.dropTimer<=0 then
self:moveHand('drop',-1,true)
end
elseif self.handY~=self.ghostY then -- If switch to 20G during game, brik won't dropped to bottom instantly so we force fresh it
elseif self.handY~=self.ghostY then -- If switch to infG during game, brik won't dropped to bottom instantly so we force fresh it
self:freshDelay('drop')
end
end
Expand Down
10 changes: 5 additions & 5 deletions assets/game/gelaPlayer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -276,13 +276,13 @@ function GP:resetPosCheck()
if SET.bufferMove=='hold' then
if self.keyState.softDrop then self:moveDown() end
if self.keyState.moveRight~=self.keyState.moveLeft then
local origY=self.handY -- For canceling 20G effect of IMS
local origY=self.handY -- For canceling infG effect of IMS
if self.keyState.moveRight then self:moveRight() else self:moveLeft() end
self.handY=origY
end
elseif SET.bufferMove=='buffer' then
if self.keyBuffer.move then
local origY=self.handY -- For canceling 20G effect of IMS
local origY=self.handY -- For canceling infG effect of IMS
if self.keyBuffer.move=='L' then
self:moveLeft()
elseif self.keyBuffer.move=='R' then
Expand Down Expand Up @@ -332,8 +332,8 @@ function GP:freshGhost()
self.ghostY=self.ghostY-1
end

-- 20G check
if (self.settings.dropDelay<=0 or self.downCharge and self.settings.asp==0) and self.ghostY<self.handY then -- if (temp) 20G on
-- infG check
if (self.settings.dropDelay<=0 or self.downCharge and self.settings.asp==0) and self.ghostY<self.handY then -- if (temp) infG on
local dY=self.ghostY-self.handY
self:moveHand('drop',dY)
self:freshDelay('drop')
Expand Down Expand Up @@ -1117,7 +1117,7 @@ function GP:tickStep()
if self.dropTimer<=0 then
self:moveHand('drop',-1,true)
end
elseif self.handY~=self.ghostY then -- If switch to 20G during game, gela won't dropped to bottom instantly so we force fresh it
elseif self.handY~=self.ghostY then -- If switch to infG during game, gela won't dropped to bottom instantly so we force fresh it
self:freshDelay('drop')
end
end
Expand Down

0 comments on commit 766b636

Please sign in to comment.