Class HealSourceSO
- Namespace
- ElectricDrill.AstraHealth.Heal
- Assembly
- com.electricdrill.astra-health.Runtime.dll
Defines a heal source asset that identifies how a heal was produced (e.g. spell, potion, resurrection, system, ...). Create instances via Assets -> Create -> Astra Health / Heal Source.
public class HealSourceSO : ScriptableObject, ITaggable
- Inheritance
-
objectHealSourceSO
- Implements
-
ITaggable
Properties
FlatHealModificationStat
The stat representing the flat heal modifier for this source. This stat serves as an accumulator for multiple flat modifiers (positive or negative) that affect healing from this source linearly.
public StatSO FlatHealModificationStat { get; }
Property Value
- StatSO
PercentageHealModificationStat
The stat representing the percentage heal modifier for this source. This stat serves as an accumulator for multiple percentage modifiers (positive or negative) that affect healing from this source. Percentage heal modifiers are applied after flat modifiers.
public StatSO PercentageHealModificationStat { get; }
Property Value
- StatSO
Tags
The tags associated with this object.
public GameTagSet Tags { get; }
Property Value
- GameTagSet
Methods
ToString()
Returns the asset name of this heal source.
public override string ToString()
Returns
- string