Table of Contents

Class ApplyHealAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

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

IIntValueProvider

Methods

Execute(ICharacter, EventData)

Restores health to the target character using the computed value.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the action.

eventData EventData

The event data containing the target information.