Predict Flashes (#37640)

Co-authored-by: ScarKy0 <scarky0@onet.eu>
This commit is contained in:
slarticodefast
2025-06-23 13:32:56 +02:00
committed by GitHub
parent 7e77ee0cd2
commit b83d00b792
23 changed files with 501 additions and 386 deletions

View File

@@ -25,11 +25,11 @@ public sealed partial class FlashReactionEffect : EventEntityEffect<FlashReactio
public float SlowTo = 0.5f;
/// <summary>
/// The time entities will be flashed in seconds.
/// The time entities will be flashed.
/// The default is chosen to be better than the hand flash so it is worth using it for grenades etc.
/// </summary>
[DataField]
public float Duration = 4f;
public TimeSpan Duration = TimeSpan.FromSeconds(4);
/// <summary>
/// The prototype ID used for the visual effect.