Compare commits

...

2 Commits

Author SHA1 Message Date
f89daca90d nuget version 2024-01-17 04:41:37 +01:00
469edd6ac9 public accesstypes 2024-01-17 04:41:27 +01:00
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@
<Authors>Glax</Authors> <Authors>Glax</Authors>
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl> <RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
<RepositoryType>git</RepositoryType> <RepositoryType>git</RepositoryType>
<Version>1.0.4</Version> <Version>1.0.5</Version>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@ -9,7 +9,7 @@ public abstract class Shocker
protected readonly AShockerSettings ShockerSettings; protected readonly AShockerSettings ShockerSettings;
protected readonly ILogger? Logger; protected readonly ILogger? Logger;
internal void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null) public void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null)
{ {
int i = intensity ?? ShockerSettings.Intensity.GetRandomRangeValue(); int i = intensity ?? ShockerSettings.Intensity.GetRandomRangeValue();
int d = duration ?? ShockerSettings.Duration.GetRandomRangeValue(); int d = duration ?? ShockerSettings.Duration.GetRandomRangeValue();