Compare commits

..

No commits in common. "f89daca90d1e95007a7f9d1b56cd78ae1efd3f7c" and "f16414aa86711a4de916c1d13d50703217c1203f" have entirely different histories.

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.5</Version> <Version>1.0.4</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;
public void Control(ControlAction action, string? shockerId = null, int? intensity = null, int? duration = null) internal 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();