Compare commits

..

2 Commits

Author SHA1 Message Date
Ishaan Bhardwaj
828b888810 Ludicrous Speed QoL 2023-07-28 23:16:19 -04:00
Ishaan Bhardwaj
affd5c6465 Fix a logic issue in Combo Challenge 2023-07-28 22:40:23 -04:00
2 changed files with 7 additions and 4 deletions

View File

@ -78,11 +78,14 @@ function ComboChallenge:hold(inputs, ruleset, ihs)
table.insert(self.next_queue, self:getNextPiece(ruleset)) table.insert(self.next_queue, self:getNextPiece(ruleset))
self.skips = self.skips - 1 self.skips = self.skips - 1
if ihs then playSE("ihs")
else playSE("hold") end
self:onHold() self:onHold()
if ihs then
playSE("ihs")
else
playSE("hold")
self:onEnterOrHold(inputs, ruleset) self:onEnterOrHold(inputs, ruleset)
end end
end
function ComboChallenge:advanceOneFrame() function ComboChallenge:advanceOneFrame()
if self.ready_frames == 0 then if self.ready_frames == 0 then

View File

@ -62,7 +62,7 @@ end
function LudicrousSpeed:advanceOneFrame() function LudicrousSpeed:advanceOneFrame()
if self.ready_frames == 0 then if self.ready_frames == 0 then
self.frames = self.frames + 1 self.frames = self.frames + 1
if self:getPPS() < self.pps_limit then if self.frames > 60 and self:getPPS() < self.pps_limit then
self.time_limit = self.time_limit - 1 self.time_limit = self.time_limit - 1
self.game_over = self.time_limit <= 0 self.game_over = self.time_limit <= 0
else self.time_limit = 300 end else self.time_limit = 300 end