Class HealAmountContext
- Namespace
- ElectricDrill.AstraHealth.Heal
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Represents the different numeric stages of a heal amount as it is processed: the raw requested amount, the amount after applying a heal modifier, and the final net amount applied.
public class HealAmountContext
- Inheritance
-
objectHealAmountContext
Constructors
HealAmountContext(long, long, long)
Create a new instance describing the provided heal values.
public HealAmountContext(long rawAmount, long afterModifierAmount, long netAmount)
Parameters
rawAmountlongThe initial requested heal amount.
afterModifierAmountlongThe amount after applying modifier/stat adjustments.
netAmountlongThe final amount actually applied to the target's health.
Properties
AfterModifierAmount
Gets the healing amount after being modified by the associated heal modifier statistic.
public long AfterModifierAmount { get; }
Property Value
- long
NetAmount
Gets the actual amount of health added to the entity, considering the entity's maximum health.
public long NetAmount { get; }
Property Value
- long
RawAmount
Gets the initial healing amount derived directly from PreHealContext.
public long RawAmount { get; }
Property Value
- long