Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ninja Glove Stun Reduced To Match Flash #220

Closed
wants to merge 4 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Content.Shared/Ninja/Components/StunProviderComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@ public sealed partial class StunProviderComponent : Component
/// Time that someone is stunned for, stacks if done multiple times.
/// </summary>
[DataField]
public TimeSpan StunTime = TimeSpan.FromSeconds(5);
public TimeSpan StunTime = TimeSpan.FromSeconds(1.5); // Harmony: Reduced to fit flash stun time

/// <summary>
/// How long stunning is disabled after stunning something.
/// </summary>
[DataField]
public TimeSpan Cooldown = TimeSpan.FromSeconds(2);
public TimeSpan Cooldown = TimeSpan.FromSeconds(2); // Harmony: Stun cooldown changed to prevent stunlocking
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This value is now unchanged from upstream.
Either a mistake, or comment should be removed?


/// <summary>
/// ID of the cooldown use delay.
Expand Down
Loading