Compare commits
2 Commits
f16414aa86
...
f89daca90d
Author | SHA1 | Date | |
---|---|---|---|
f89daca90d | |||
469edd6ac9 |
@ -7,7 +7,7 @@
|
||||
<Authors>Glax</Authors>
|
||||
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<Version>1.0.4</Version>
|
||||
<Version>1.0.5</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -9,7 +9,7 @@ public abstract class Shocker
|
||||
protected readonly AShockerSettings ShockerSettings;
|
||||
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 d = duration ?? ShockerSettings.Duration.GetRandomRangeValue();
|
||||
|
Loading…
x
Reference in New Issue
Block a user