Merge pull request #10 from Kirby703/patch-3

added points for surviving the roll
pull/6/merge
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
1 changed files with 5 additions and 0 deletions

View File

@ -120,6 +120,11 @@ function PhantomManiaNXGame:advanceOneFrame()
end
return false
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)
self.completed = true
end