Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
Rxup committed Feb 25, 2024
1 parent d553de6 commit d4dabb0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
using Robust.Shared.Configuration;
using Robust.Shared.Map;
using Robust.Shared.Map.Components;
using Robust.Shared.Map.Enumerators;
using Robust.Shared.Physics.Collision.Shapes;
using Robust.Shared.Physics.Components;
using Robust.Shared.Physics.Dynamics;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override void Started(EntityUid uid, BluespaceGoatRuleComponent compon
{
base.Started(uid, component, gameRule, args);

var amountToSpawn = Math.Max(1, (int) MathF.Round(GetSeverityModifier() / 1.5f));
var amountToSpawn = 1;//Math.Max(1, (int) MathF.Round(GetSeverityModifier() / 1.5f));
for (var i = 0; i < amountToSpawn; i++)
{
if (!TryFindRandomTile(out _, out _, out _, out var coords))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ protected override void Started(EntityUid uid, NoosphericStormRuleComponent comp

// Increase glimmer.
var baseGlimmerAdd = _robustRandom.Next(component.BaseGlimmerAddMin, component.BaseGlimmerAddMax);
var glimmerSeverityMod = 1 + (component.GlimmerSeverityCoefficient * (GetSeverityModifier() - 1f));
var glimmerSeverityMod = 1.66f;//1 + (component.GlimmerSeverityCoefficient * (GetSeverityModifier() - 1f));
var glimmerAdded = (int) Math.Round(baseGlimmerAdd * glimmerSeverityMod);

_glimmerSystem.Glimmer += glimmerAdded;
Expand Down
2 changes: 1 addition & 1 deletion Resources/migration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ GunSafeSubMachineGunVector: GunSafeSubMachineGunDrozd
# 2023-05-24
AMEController: AmeController
AMEJar: AmeJar
AMEPart: AmePart
#AMEPart: AmePart
AMEShielding: AmeShielding

# 2023-05-29
Expand Down

0 comments on commit d4dabb0

Please sign in to comment.