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.

GetTooltipContribution()

Says how much it heals, when the amount is knowable ahead of the cast.

public override string GetTooltipContribution()

Returns

string

The wording, or null when the amount is only known at execution time.