From c1d68508677709b52b53ef6561de0e5a64cb0782 Mon Sep 17 00:00:00 2001 From: ABrokenTV <110191923+ABrokenTV@users.noreply.github.com> Date: Fri, 7 Feb 2025 10:12:07 -0600 Subject: [PATCH] Add "Land" Payouts to RatingController.cs (#17) Added payouts for Adventureland, Marineland, and Futureland, from "Lost Island Training" standalone port. --- src/Controllers/Common/RatingController.cs | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/Controllers/Common/RatingController.cs b/src/Controllers/Common/RatingController.cs index f589074..cc945ef 100644 --- a/src/Controllers/Common/RatingController.cs +++ b/src/Controllers/Common/RatingController.cs @@ -79,6 +79,30 @@ public class RatingController : Controller case string x when x.StartsWith("MSCnDucky"): return Ok(60); + + case string x when x.StartsWith("Calendar"): + return Ok(points / 40); + + case string x when x.StartsWith("PearlPush"): + return Ok(points / 20); + + case string x when x.StartsWith("FLLetItRide"): + return Ok(points <= 28 ? 2 : 5); + + case string x when x.StartsWith("FLLetItRideMastered"): + return Ok(points <= 15 ? 4 : + points <= 25 ? 6 : + points <= 35 ? 9 : + points <= 45 ? 12 : 15); + + case string x when x.StartsWith("FashionShowWin"): + return Ok(points >= 1 ? 20 : 0); + + case string x when x.StartsWith("FashionShowLose"): + return Ok(points >= 0 ? 10 : 0); + + case string x when x.StartsWith("FashionShowTie"): + return Ok(points >= 2 ? 15 : 0); } return Ok(points / (350 / 3));