Flash buff (#25730)

* flash buff

* oops!

* bool

* 3 -> 1.5 seconds

* okay fix

* sluth
This commit is contained in:
Nemanja
2024-04-18 02:30:01 -04:00
committed by GitHub
parent b1136c98d7
commit 3af744e4a9
3 changed files with 25 additions and 15 deletions

View File

@@ -12,6 +12,13 @@ namespace Content.Shared.Flash.Components
[ViewVariables(VVAccess.ReadWrite)]
public int FlashDuration { get; set; } = 5000;
/// <summary>
/// How long a target is stunned when a melee flash is used.
/// If null, melee flashes will not stun at all
/// </summary>
[DataField]
public TimeSpan? MeleeStunDuration = TimeSpan.FromSeconds(1.5);
[DataField("range")]
[ViewVariables(VVAccess.ReadWrite)]
public float Range { get; set; } = 7f;