rebase
This commit is contained in:
@@ -27,7 +27,7 @@ public sealed class CauseStatusEffectRandomlyStatusEffectSystem : EntitySystem
|
||||
randomEffects.NextUpdate = _timing.CurTime + randomEffects.UpdateInterval;
|
||||
Dirty(uid, randomEffects);
|
||||
|
||||
var seed = SharedRandomExtensions.HashCodeCombine(new() { (int)_timing.CurTick.Value, GetNetEntity(uid).Id });
|
||||
var seed = SharedRandomExtensions.HashCodeCombine((int)_timing.CurTick.Value, GetNetEntity(uid).Id);
|
||||
var rand = new System.Random(seed);
|
||||
|
||||
if (!rand.Prob(randomEffects.Probability))
|
||||
|
||||
Reference in New Issue
Block a user