Make projectiles not hit crit mobs unless clicked on (#27905)
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
using Content.Shared.Damage;
|
||||
using Content.Shared.Tag;
|
||||
using Content.Shared.Weapons.Ranged.Events;
|
||||
using Content.Shared.Weapons.Ranged.Systems;
|
||||
using Robust.Shared.Audio;
|
||||
@@ -139,6 +137,12 @@ public sealed partial class GunComponent : Component
|
||||
[ViewVariables]
|
||||
public EntityCoordinates? ShootCoordinates = null;
|
||||
|
||||
/// <summary>
|
||||
/// Who the gun is being requested to shoot at directly.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
public EntityUid? Target = null;
|
||||
|
||||
/// <summary>
|
||||
/// The base value for how many shots to fire per burst.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user