]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Increase Ion Storm Weights (#26539)
authorMephisto72 <66994453+Mephisto72@users.noreply.github.com>
Sat, 30 Mar 2024 00:01:39 +0000 (01:01 +0100)
committerGitHub <noreply@github.com>
Sat, 30 Mar 2024 00:01:39 +0000 (11:01 +1100)
This increases the probability for the following effects caused by Ion Storms:
Chance to affect a Station Borg: 50% -> 80%
Chance to replace a Law: 10% -> 20%
Chance to remove a Law: 10% -> 20%
Chance to shuffle Laws: 10% -> 20%

Content.Shared/Silicons/Laws/Components/IonStormTargetComponent.cs

index 49ac611ddcbfb7be461ab1feca730b2e044036d9..341767e9ceefb0d599f6a247d0e777f92dc6c004 100644 (file)
@@ -20,7 +20,7 @@ public sealed partial class IonStormTargetComponent : Component
     /// Chance for this borg to be affected at all.
     /// </summary>
     [DataField, ViewVariables(VVAccess.ReadWrite)]
-    public float Chance = 0.5f;
+    public float Chance = 0.8f;
 
     /// <summary>
     /// Chance to replace the lawset with a random one
@@ -32,19 +32,19 @@ public sealed partial class IonStormTargetComponent : Component
     /// Chance to remove a random law.
     /// </summary>
     [DataField, ViewVariables(VVAccess.ReadWrite)]
-    public float RemoveChance = 0.1f;
+    public float RemoveChance = 0.2f;
 
     /// <summary>
     /// Chance to replace a random law with the new one, rather than have it be a glitched-order law.
     /// </summary>
     [DataField, ViewVariables(VVAccess.ReadWrite)]
-    public float ReplaceChance = 0.1f;
+    public float ReplaceChance = 0.2f;
 
     /// <summary>
     /// Chance to shuffle laws after everything is done.
     /// </summary>
     [DataField, ViewVariables(VVAccess.ReadWrite)]
-    public float ShuffleChance = 0.1f;
+    public float ShuffleChance = 0.2f;
 }
 
 /// <summary>