From 69f1c69afb7a65d77c7997d54f46b970180738aa Mon Sep 17 00:00:00 2001 From: Kill_Me_I_Noobs <118206719+Vonsant@users.noreply.github.com> Date: Tue, 7 May 2024 18:12:09 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=B4=D0=BC=D0=B5=D0=BD=D0=B0=20?= =?UTF-8?q?=D1=86=D0=B5=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Corvax/Inflation/InflationCargoCrateSystem.cs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs b/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs index 6689feed52b..57194fc2375 100644 --- a/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs +++ b/Content.Server/Corvax/Inflation/InflationCargoCrateSystem.cs @@ -10,7 +10,7 @@ public sealed class InflationCargoCrateSystem : EntitySystem [Dependency] private readonly IGameTiming _gameTiming = default!; [Dependency] private readonly IEntityManager _entManager = default!; - private TimeSpan? Timer = TimeSpan.FromSeconds(10); + private TimeSpan? Timer = TimeSpan.FromMinutes(5); private TimeSpan? NextTimeToCheck = TimeSpan.FromSeconds(5); StaticPriceComponent? staticPriceComponent = null; @@ -43,10 +43,12 @@ public override void Update(float frameTime) if (numberCrates == 1) modifier = 1; - else if (numberCrates >= 2 && numberCrates <= 5) - modifier = 0.5; - else if (numberCrates >= 6 && numberCrates <= 10) - modifier = 0.3; + else if (numberCrates >= 5 && numberCrates <= 19) + modifier = 0.9; + else if (numberCrates >= 20 && numberCrates <= 40) + modifier = 0.85; + else if (numberCrates >= 41) + modifier = 0.82; foreach (var iterator in _entManager.EntityQuery(true)) {