Interface IDamageFloor
- Namespace
- ElectricDrill.AstraHealth.Damage.Bounds
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Contract for components that provide a lower bound (floor) on the damage an entity receives from a single hit.
Attach a component implementing this interface to an entity so that ApplyDamageFloorStep can query it during the damage calculation pipeline.
public interface IDamageFloor
Methods
GetDamageFloor()
Returns the minimum damage value guaranteed for a single hit on this entity. The pipeline step will raise the current damage to at least this value.
long GetDamageFloor()
Returns
- long
A positive
longrepresenting the damage floor.