Class ApplyHealAction
Action that restores health to a target character using a configurable value provider.
[Serializable]
public class ApplyHealAction : BaseAction, IAction
- Inheritance
-
ApplyHealAction
- Implements
- Inherited Members
Fields
HealValue
The value provider that determines the amount of health to restore.
[Tooltip("The value provider that determines the amount of health to restore.")]
[SerializeReference]
public IIntValueProvider HealValue
Field Value
Methods
Execute(ICharacter, EventData)
Restores health to the target character using the computed value.
public override void Execute(ICharacter initiator, EventData eventData)
Parameters
initiatorICharacterThe character initiating the action.
eventDataEventDataThe event data containing the target information.