Merge pull request #10 from Kirby703/patch-3

added points for surviving the roll
This commit is contained in:
Ishaan Bhardwaj 2023-07-01 22:19:49 -04:00 committed by GitHub
commit d5e775fa68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,6 +120,11 @@ function PhantomManiaNXGame:advanceOneFrame()
end end
return false return false
elseif self.roll_frames > 3238 then elseif self.roll_frames > 3238 then
if self:qualifiesForGMRoll() then
self.roll_points = self.roll_points + 160
else
self.roll_points = self.roll_points + 50
end
switchBGM(nil) switchBGM(nil)
self.completed = true self.completed = true
end end