Refactor magic speak system to be a component added to actions (#36328)
This commit is contained in:
@@ -2,14 +2,11 @@ using Content.Shared.Actions;
|
||||
|
||||
namespace Content.Shared.Magic.Events;
|
||||
|
||||
public sealed partial class MindSwapSpellEvent : EntityTargetActionEvent, ISpeakSpell
|
||||
public sealed partial class MindSwapSpellEvent : EntityTargetActionEvent
|
||||
{
|
||||
[DataField]
|
||||
public TimeSpan PerformerStunDuration = TimeSpan.FromSeconds(10);
|
||||
|
||||
[DataField]
|
||||
public TimeSpan TargetStunDuration = TimeSpan.FromSeconds(10);
|
||||
|
||||
[DataField]
|
||||
public string? Speech { get; private set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user