From f09e97510bf93a16c852531f013572975032f004 Mon Sep 17 00:00:00 2001 From: Logue1021 Date: Sun, 19 Jun 2022 15:06:38 -0500 Subject: [PATCH 1/2] Create Season17.cs --- MaxPowerLevel/Services/YearFive/Season17.cs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 MaxPowerLevel/Services/YearFive/Season17.cs diff --git a/MaxPowerLevel/Services/YearFive/Season17.cs b/MaxPowerLevel/Services/YearFive/Season17.cs new file mode 100644 index 0000000..1fe6e1c --- /dev/null +++ b/MaxPowerLevel/Services/YearFive/Season17.cs @@ -0,0 +1,17 @@ +using System.Collections.Generic; +using System.Linq; +using MaxPowerLevel.Models; + +namespace MaxPowerLevel.Services.YearFive +{ + public class Season17 : AbstractYear5Season + { + public override int SoftCap => 1510; + + public override int PowerfulCap => 1560; + + public override int HardCap => 1570; + + public override uint SeasonHash => 2809059432; + } +} From a2bec84329d7624f8eddc51e614334611eb77145 Mon Sep 17 00:00:00 2001 From: Logue1021 Date: Sun, 19 Jun 2022 15:08:29 -0500 Subject: [PATCH 2/2] Update Startup.cs --- MaxPowerLevel/Startup.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/MaxPowerLevel/Startup.cs b/MaxPowerLevel/Startup.cs index 4b2e43c..ed4c58c 100644 --- a/MaxPowerLevel/Startup.cs +++ b/MaxPowerLevel/Startup.cs @@ -95,19 +95,19 @@ public void Configure(IApplicationBuilder app, IWebHostEnvironment env) }); } - private static readonly DateTime Season16StartDate = - new DateTime(2022, 2, 22, 17, 0, 0, DateTimeKind.Utc); + private static readonly DateTime Season17StartDate = + new DateTime(2022, 5, 24, 17, 0, 0, DateTimeKind.Utc); private void AddSeason(IServiceCollection services) { services.AddScoped(sp => { - if(DateTime.UtcNow < Season16StartDate) + if(DateTime.UtcNow < Season17StartDate) { - return new Season15(); + return new Season16(); } - return new Season16(); + return new Season17(); }); } }