add StartDelay bool to actions (#33026)

* add StartDelay bool to actions

* forgot summary
This commit is contained in:
lzk
2024-10-28 23:21:14 +01:00
committed by GitHub
parent 7ac2d9a8bd
commit dc3a2f6d28
6 changed files with 12 additions and 11 deletions

View File

@@ -76,6 +76,11 @@ public abstract partial class BaseActionComponent : Component
// TODO serialization
public (TimeSpan Start, TimeSpan End)? Cooldown;
/// <summary>
/// If true, the action will have an initial cooldown applied upon addition.
/// </summary>
[DataField] public bool StartDelay = false;
/// <summary>
/// Time interval between action uses.
/// </summary>