IMS nerf, only triggers on fully charged DAS

pull/4/head
Ishaan Bhardwaj 2021-01-31 21:20:52 -05:00
parent a9fc3f211d
commit bed840f92a
1 changed files with 2 additions and 1 deletions

View File

@ -74,7 +74,8 @@ end
function JokerGame:onPieceEnter()
-- The Initial Movement System, pioneered by DTET
if self.grid:canPlacePiece(self.piece) then
if self.das.frames >= self:getDasLimit() - self:getARR() and self.grid:canPlacePiece(self.piece) then
print("IMS")
if self.das.direction == "left" then
for i = 1, 10 do
local new_piece = self.piece:withOffset({x=-i, y=0})