Generalize ReagentUnit into FixedPoint2 and use it for damage calculations (#5151)

* Damage units

* sum ext method
This commit is contained in:
mirrorcult
2021-11-03 16:48:03 -07:00
committed by GitHub
parent 8165d8f38c
commit 3ab4a30a0f
100 changed files with 730 additions and 601 deletions

View File

@@ -1,4 +1,5 @@
using Content.Shared.ActionBlocker;
using Content.Shared.FixedPoint;
using Robust.Shared.GameObjects;
namespace Content.Shared.MobState.State
@@ -36,6 +37,6 @@ namespace Content.Shared.MobState.State
/// <summary>
/// Called when this state is updated.
/// </summary>
void UpdateState(IEntity entity, int threshold);
void UpdateState(IEntity entity, FixedPoint2 threshold);
}
}