Table of Contents

Class ApplyDispelAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Action that dispels (removes) a specified number of buffs and/or debuffs from a target character.

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

Fields

AmountToRemoveValue

The value provider that determines the number of buffs and/or debuffs to remove.

[Tooltip("The value provider that determines the number of buffs/debuffs to remove.")]
[SerializeReference]
public IIntValueProvider AmountToRemoveValue

Field Value

IIntValueProvider

IncludeBuffs

Whether to include buffs in the dispel operation.

public bool IncludeBuffs

Field Value

bool

IncludeDebuffs

Whether to include debuffs in the dispel operation.

public bool IncludeDebuffs

Field Value

bool

Properties

ReappliesOnReplay

What this changes is corrected state, so a replayed self-cast applies it again (see BaseAction.ReappliesOnReplay).

public override bool ReappliesOnReplay { get; }

Property Value

bool

Methods

Execute(ICharacter, EventData)

Removes a computed number of buffs and/or debuffs from the target character.

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()

What the dispel removes, in the words a tooltip uses: "Removes up to 2 buffs".

public override string GetTooltipContribution()

Returns

string

Remarks

Without this a dispel contributed nothing, and an ability whose only effect is a dispel showed a tooltip with no effect on it at all.