mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-21 15:59:03 -06:00
Compare commits
2 Commits
b9e96406ca
...
828b888810
Author | SHA1 | Date | |
---|---|---|---|
|
828b888810 | ||
|
affd5c6465 |
@ -78,10 +78,13 @@ 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()
|
||||||
self:onEnterOrHold(inputs, ruleset)
|
if ihs then
|
||||||
|
playSE("ihs")
|
||||||
|
else
|
||||||
|
playSE("hold")
|
||||||
|
self:onEnterOrHold(inputs, ruleset)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function ComboChallenge:advanceOneFrame()
|
function ComboChallenge:advanceOneFrame()
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user