mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 11:49:02 -06:00
Fixed Death torikan (why was this changed?)
This commit is contained in:
parent
3bdc6e1b2d
commit
71d76e8a6b
@ -30,11 +30,6 @@ function SurvivalA2Game:new()
|
|||||||
self.lock_hard_drop = true
|
self.lock_hard_drop = true
|
||||||
end
|
end
|
||||||
|
|
||||||
function SurvivalA2Game:initialize(ruleset)
|
|
||||||
SurvivalA2Game.super.initialize(self, ruleset)
|
|
||||||
self.world = ruleset.world
|
|
||||||
end
|
|
||||||
|
|
||||||
function SurvivalA2Game:getARE()
|
function SurvivalA2Game:getARE()
|
||||||
if self.level < 100 then return 18
|
if self.level < 100 then return 18
|
||||||
elseif self.level < 300 then return 14
|
elseif self.level < 300 then return 14
|
||||||
@ -74,8 +69,7 @@ function SurvivalA2Game:getGravity()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function SurvivalA2Game:hitTorikan(old_level, new_level)
|
function SurvivalA2Game:hitTorikan(old_level, new_level)
|
||||||
local torikan_time = self.world and frameTime(3,55) or frameTime(3,25)
|
if old_level < 500 and new_level >= 500 and self.frames > frameTime(3,25) then
|
||||||
if old_level < 500 and new_level >= 500 and self.frames > torikan_time then
|
|
||||||
self.level = 500
|
self.level = 500
|
||||||
return true
|
return true
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user