Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

Commit

Permalink
Fix Curve Clear scoring
Browse files Browse the repository at this point in the history
The current scoring was 1000 + time. This fixes it to be 1000 + (100 * time).

Thanks to @DarthIronclad for catching this oversight.

Co-Authored-By: DarthIronclad <50443483+DarthIronclad@users.noreply.github.com>
  • Loading branch information
ShamblesSM and DarthIronclad committed Feb 2, 2023
1 parent 5ffb6ce commit 54c4e5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ function Path:update(dt)
self.pathClearGranted = true
-- Curve Clears in Kroakatoa grant 1000 + total time elapsed.
-- Reference: http://bchantech.dreamcrafter.com/zumablitz/scoringmechanics_relaunch.php
local score = 1000 + math.floor(self.map.level.stateCount)
local score = 1000 + (math.floor(self.map.level.stateCount) * 100)
local extraPoints = _MathAreKeysInTable(_Game:getCurrentProfile():getEquippedFoodItemEffects(), "curveClearPointModifier")
if extraPoints then
score = score + extraPoints
Expand Down

0 comments on commit 54c4e5c

Please sign in to comment.