Enum DamageBoundSource
- Namespace
- ElectricDrill.AstraHealth.Damage.Bounds
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Determines how a damage bound value (cap or floor) is resolved at runtime.
public enum DamageBoundSource
Fields
FixedValue = 0Use a fixed
longvalue configured directly on the component.HealthScaling = 1Compute the bound from the entity's health using an inline health metric and percentage (e.g. 10 % of max HP). This mirrors HealthScalingComponentSO without requiring a separate ScriptableObject asset.
ScalingComponent = 2Delegate calculation to an external ElectricDrill.AstraRpgFramework.Scaling.ScalingComponentSO ScriptableObject (e.g. a HealthScalingComponentSO or any user-defined scaling component).