mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 13:19:03 -06:00
experimental bravo formula for tgm1
This commit is contained in:
parent
b59edb5e8e
commit
36ceef8488
@ -145,11 +145,12 @@ function MarathonA1Game:onLineClear(cleared_row_count)
|
||||
end
|
||||
|
||||
function MarathonA1Game:updateScore(level, drop_bonus, cleared_lines)
|
||||
if self.grid:checkForBravo(cleared_lines) then self.bravo = 4 else self.bravo = 1 end
|
||||
if cleared_lines > 0 then
|
||||
self.combo = self.combo + (cleared_lines - 1) * 2
|
||||
self.score = self.score + (
|
||||
(math.ceil((level + cleared_lines) / 4) + drop_bonus) *
|
||||
cleared_lines * self.combo
|
||||
cleared_lines * self.combo * self.bravo
|
||||
)
|
||||
self.lines = self.lines + cleared_lines
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user