This commit is contained in:
Debug 2024-03-07 02:10:29 +01:00
parent 974c8b6cc2
commit fc7e32f9cc
No known key found for this signature in database
GPG Key ID: 271270A74EF9C350
3 changed files with 5 additions and 2 deletions

View File

@ -34,12 +34,14 @@ using Content.Shared.Emag.Components;
using Content.Shared.Destructible;
using Content.Shared.Emag.Systems;
using Content.Shared.Examine;
using Content.Shared.Fluids.Components;
using Content.Shared.Hands.EntitySystems;
using Content.Shared.Interaction;
using Content.Shared.Interaction.Events;
using Content.Shared.Item;
using Content.Shared.Mail;
using Content.Shared.Maps;
using Content.Shared.Nutrition.Components;
using Content.Shared.PDA;
using Content.Shared.Random.Helpers;
using Content.Shared.Roles;

View File

@ -51,8 +51,8 @@ internal sealed class NoosphericStormRule : StationEventSystem<NoosphericStormRu
// Increase glimmer.
var baseGlimmerAdd = _robustRandom.Next(component.BaseGlimmerAddMin, component.BaseGlimmerAddMax);
var glimmerSeverityMod = 1 + (component.GlimmerSeverityCoefficient * (GetSeverityModifier() - 1f));
var glimmerAdded = (int) Math.Round(baseGlimmerAdd * glimmerSeverityMod);
//var glimmerSeverityMod = 1 + (component.GlimmerSeverityCoefficient * (GetSeverityModifier() - 1f));
var glimmerAdded = (int) baseGlimmerAdd; // Math.Round(baseGlimmerAdd * glimmerSeverityMod);
_glimmerSystem.Glimmer += glimmerAdded;
}

View File

@ -25,6 +25,7 @@ namespace Content.Server.Shuttles.Systems;
[UsedImplicitly]
public sealed partial class ShuttleSystem : SharedShuttleSystem
{
[Dependency] private readonly IComponentFactory _factory = default!;
[Dependency] private readonly IConfigurationManager _cfg = default!;
[Dependency] private readonly IMapManager _mapManager = default!;
[Dependency] private readonly IRobustRandom _random = default!;