changessss
This commit is contained in:
parent
04783f0d6a
commit
77919fe3e7
|
|
@ -39,7 +39,7 @@ public sealed class IonStormRule : StationEventSystem<IonStormRuleComponent>
|
|||
if (!TryComp<ActorComponent>(ent, out var actor))
|
||||
continue;
|
||||
|
||||
if (!RobustRandom.Prob(synthComp.AlertChance))
|
||||
if (RobustRandom.Prob(synthComp.AlertChance))
|
||||
{
|
||||
var msg = Loc.GetString("station-event-ion-storm-synth");
|
||||
var wrappedMessage = Loc.GetString("chat-manager-server-wrap-message", ("message", msg));
|
||||
|
|
@ -47,7 +47,7 @@ public sealed class IonStormRule : StationEventSystem<IonStormRuleComponent>
|
|||
}
|
||||
|
||||
// DV start - super duper fucked up thing for synths
|
||||
if (synthComp.IonStormAffected && !RobustRandom.Prob(comp.SynthElectrocutionChance))
|
||||
if (synthComp.IonStormAffected && RobustRandom.Prob(comp.SynthElectrocutionChance))
|
||||
{
|
||||
var delay = RobustRandom.Next(TimeSpan.FromSeconds(comp.SynthElectrocutionDelayMin), TimeSpan.FromSeconds(comp.SynthElectrocutionDelayMax)); // they'll never know when it'll hit them
|
||||
Timer.Spawn(delay, () =>
|
||||
|
|
|
|||
Loading…
Reference in New Issue