mirror of
https://github.com/SashLilac/cambridge.git
synced 2025-05-13 20:21:25 -05:00
Compare commits
10 Commits
v0.3.3.1
...
9d365f61a7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9d365f61a7 | ||
|
|
082697c3cd | ||
|
|
788aa11470 | ||
|
|
a303e82b90 | ||
|
|
b06d03c4e6 | ||
|
|
a6b8abff6d | ||
|
|
bdc317c3c5 | ||
|
|
71c9147a2c | ||
|
|
79d706a415 | ||
|
|
5fa144f146 |
@@ -1 +1 @@
|
|||||||
version = "v0.3.3.1"
|
version = "v0.3.3.2"
|
||||||
@@ -231,12 +231,15 @@ function Grid:applyBigPiece(piece)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function Grid:checkForBravo(cleared_row_count)
|
-- places where you see this take an argument used the old, buggy method
|
||||||
for i = 0, self.height - 1 - cleared_row_count do
|
function Grid:checkForBravo()
|
||||||
for j = 0, self.width - 1 do
|
for i = 0, self.height - 1 do
|
||||||
if self:isOccupied(j, i) then return false end
|
if not self:isRowFull(i+1) then
|
||||||
end
|
for j = 0, self.width - 1 do
|
||||||
|
if self:isOccupied(j, i) then return false end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -283,7 +283,7 @@ function Marathon2020Game:sectionPassed(old_level, new_level)
|
|||||||
)
|
)
|
||||||
else
|
else
|
||||||
return (
|
return (
|
||||||
(new_level < 2001 and math.floor(old_level / 100) < math.floor(new_level / 100)) or
|
(new_level < 2000 and math.floor(old_level / 100) < math.floor(new_level / 100)) or
|
||||||
(new_level >= 2020)
|
(new_level >= 2020)
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
@@ -352,9 +352,13 @@ function Marathon2020Game:updateSectionTimes(old_level, new_level)
|
|||||||
table.insert(self.section_times, section_time)
|
table.insert(self.section_times, section_time)
|
||||||
self.section_start_time = self.frames
|
self.section_start_time = self.frames
|
||||||
|
|
||||||
if self.secondary_section_times[section] < cool_cutoffs[self.delay_level] and
|
if (
|
||||||
(section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120) then
|
(self.secondary_section_times[section] < cool_cutoffs[self.delay_level]) and
|
||||||
|
(section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120)
|
||||||
|
) then
|
||||||
sectionCool(section)
|
sectionCool(section)
|
||||||
|
else
|
||||||
|
table.insert(self.section_status, "none")
|
||||||
end
|
end
|
||||||
|
|
||||||
if section > 5 then
|
if section > 5 then
|
||||||
|
|||||||
@@ -8,6 +8,8 @@ SRS.hash = "Standard"
|
|||||||
SRS.softdrop_lock = false
|
SRS.softdrop_lock = false
|
||||||
SRS.harddrop_lock = true
|
SRS.harddrop_lock = true
|
||||||
|
|
||||||
|
SRS.enable_IRS_wallkicks = true
|
||||||
|
|
||||||
SRS.MANIPULATIONS_MAX = 15
|
SRS.MANIPULATIONS_MAX = 15
|
||||||
|
|
||||||
SRS.wallkicks_line = {
|
SRS.wallkicks_line = {
|
||||||
@@ -108,4 +110,6 @@ end
|
|||||||
|
|
||||||
function SRS:canPieceRotate() return true end
|
function SRS:canPieceRotate() return true end
|
||||||
|
|
||||||
|
function SRS:get180RotationValue() return 2 end
|
||||||
|
|
||||||
return SRS
|
return SRS
|
||||||
|
|||||||
Reference in New Issue
Block a user