mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 09:19:03 -06:00
Fixed Demon Mode torikan madness
This commit is contained in:
parent
d946b17e13
commit
a5158e0994
@ -166,11 +166,18 @@ function DemonModeGame:updateSectionTimes(old_level, new_level)
|
||||
self.section_tetris_count = 0
|
||||
else
|
||||
self.level = math.min(new_level, 2500)
|
||||
self.skip_failed = true
|
||||
end
|
||||
-- record new section
|
||||
section_time = self.frames - self.section_start_time
|
||||
table.insert(self.section_times, section_time)
|
||||
self.section_start_time = self.frames
|
||||
else
|
||||
self.level = math.min(new_level, 2500)
|
||||
if self.skip_failed and new_level >= 500 then
|
||||
self.level = 500
|
||||
self.game_over = true
|
||||
end
|
||||
end
|
||||
else
|
||||
self.level = math.min(new_level, 2500)
|
||||
|
@ -3,8 +3,8 @@ local Ruleset = require 'tetris.rulesets.ruleset'
|
||||
|
||||
local ARS = Ruleset:extend()
|
||||
|
||||
ARS.name = "ACE-ARS 2"
|
||||
ARS.hash = "ArikaACE"
|
||||
ARS.name = "ACE-ARS2"
|
||||
ARS.hash = "ArikaACE2"
|
||||
|
||||
ARS.spawn_positions = {
|
||||
I = { x=5, y=2 },
|
||||
|
Loading…
Reference in New Issue
Block a user