Remove stamina + damageable .Owner (#14602)

* Remove stamina + damageable .Owner

* More
This commit is contained in:
metalgearsloth
2023-03-13 00:19:05 +11:00
committed by GitHub
parent 058c732db1
commit 49c7c0f9a7
12 changed files with 70 additions and 59 deletions

View File

@@ -12,7 +12,7 @@ public sealed class StaminaMeleeHitEvent : HandledEntityEventArgs
/// <summary>
/// List of hit stamina components.
/// </summary>
public List<StaminaComponent> HitList;
public List<(EntityUid Entity, StaminaComponent Component)> HitList;
/// <summary>
/// The multiplier. Generally, try to use *= or /= instead of overwriting.
@@ -24,7 +24,7 @@ public sealed class StaminaMeleeHitEvent : HandledEntityEventArgs
/// </summary>
public float FlatModifier = 0;
public StaminaMeleeHitEvent(List<StaminaComponent> hitList)
public StaminaMeleeHitEvent(List<(EntityUid Entity, StaminaComponent Component)> hitList)
{
HitList = hitList;
}