Files
wwdpublic/Content.Shared/Magic/Events/MindSwapSpellEvent.cs
ActiveMammmoth dca645b13b Wizard Mind Swap Spell (#33416)
* working mind swap spell

* Removing unncessary spacing

Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com>

* Changing mind swap speech

Co-authored-by: keronshb <54602815+keronshb@users.noreply.github.com>

* All requested changes in review

* Stores owned by mind instead of body

* Requested changes, traitor uplink fixed

* Revert "Requested changes, traitor uplink fixed"

This reverts commit 2ceac6733d6a28890f60d2ccef3dafa160a702fd.

* Revert "Stores owned by mind instead of body"

This reverts commit dfb72ab70ed66db50312617f2dce02d0a4e4dfce.

* Separate target and performer stun duration

---------

Co-authored-by: Thomas <87614336+Aeshus@users.noreply.github.com>
Co-authored-by: keronshb <54602815+keronshb@users.noreply.github.com>
(cherry picked from commit cd238057507e14fe99e5a2df9fbcb77b00e78b76)
2025-09-20 18:52:19 +03:00

19 lines
488 B
C#

using Content.Shared.Actions;
using Content.Shared.Chat;
namespace Content.Shared.Magic.Events;
public sealed partial class MindSwapSpellEvent : EntityTargetActionEvent, ISpeakSpell
{
[DataField]
public TimeSpan PerformerStunDuration = TimeSpan.FromSeconds(10);
[DataField]
public TimeSpan TargetStunDuration = TimeSpan.FromSeconds(10);
[DataField]
public string? Speech { get; private set; }
public InGameICChatType ChatType => InGameICChatType.Speak;
}