Table of Contents

Class AbilityApplyAreaAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Action that applies an ability effect to all targets within a specified area.

[Serializable]
public class AbilityApplyAreaAction : BaseAction, IAction
Inheritance
AbilityApplyAreaAction
Implements
Inherited Members

Fields

MaxHitsValue

The value provider that determines the maximum number of hits to process in the area.

[Tooltip("The value provider that determines the maximum number of hits.")]
[SerializeReference]
public IIntValueProvider MaxHitsValue

Field Value

IIntValueProvider

RadiusValue

The value provider that determines the radius of the area effect.

[Tooltip("The value provider that determines the radius of the area effect.")]
[SerializeReference]
public IFloatValueProvider RadiusValue

Field Value

IFloatValueProvider

TargetLayerMask

Layer mask to filter targets in the area.

[Tooltip("Layer mask to filter targets in the area.")]
public LayerMask TargetLayerMask

Field Value

LayerMask

Methods

Execute(ICharacter, EventData)

Executes the area effect, applying the ability to all valid targets within the radius.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the action.

eventData EventData

Event data containing context for the action.