Generalize ReagentUnit into FixedPoint2 and use it for damage calculations (#5151)
* Damage units * sum ext method
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Robust.Shared.GameObjects;
|
||||
using Content.Shared.FixedPoint;
|
||||
using Robust.Shared.GameObjects;
|
||||
using Robust.Shared.Serialization.Manager.Attributes;
|
||||
|
||||
namespace Content.Shared.MobState.State
|
||||
@@ -32,6 +33,6 @@ namespace Content.Shared.MobState.State
|
||||
|
||||
public virtual void ExitState(IEntity entity) { }
|
||||
|
||||
public virtual void UpdateState(IEntity entity, int threshold) { }
|
||||
public virtual void UpdateState(IEntity entity, FixedPoint2 threshold) { }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user