fix RangeNumberSelector to actually be inclusive (#36155)

* fix RangeNumberSelector to actually be inclusive

* Convert all random number stuff to randomint and prune unused code

* another heisentest???

* another heisentest after a heisentest. im going to lose it.
This commit is contained in:
ArtisticRoomba
2025-04-14 14:02:49 -07:00
committed by GitHub
parent 0de0ef6065
commit 6c2c5935ed
5 changed files with 11 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
using Content.Shared.EntityTable.EntitySelectors;
using JetBrains.Annotations;
using Robust.Shared.Prototypes;
namespace Content.Shared.EntityTable.ValueSelector;
@@ -10,7 +9,5 @@ namespace Content.Shared.EntityTable.ValueSelector;
[ImplicitDataDefinitionForInheritors, UsedImplicitly(ImplicitUseTargetFlags.WithInheritors)]
public abstract partial class NumberSelector
{
public abstract float Get(System.Random rand,
IEntityManager entMan,
IPrototypeManager proto);
public abstract int Get(System.Random rand);
}