Prevent Holoparasites from attacking their host (#6019)

This commit is contained in:
ShadowCommander
2022-01-04 01:22:28 -08:00
committed by GitHub
parent 5249ea057a
commit b335ef5e7f
5 changed files with 21 additions and 6 deletions

View File

@@ -4,11 +4,13 @@ namespace Content.Shared.Interaction.Events
{
public class AttackAttemptEvent : CancellableEntityEventArgs
{
public AttackAttemptEvent(EntityUid uid)
public EntityUid Uid { get; }
public EntityUid? Target { get; }
public AttackAttemptEvent(EntityUid uid, EntityUid? target = null)
{
Uid = uid;
Target = target;
}
public EntityUid Uid { get; }
}
}