Class ApplyDispelAction
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
IncludeBuffs
Whether to include buffs in the dispel operation.
public bool IncludeBuffs
Field Value
IncludeDebuffs
Whether to include debuffs in the dispel operation.
public bool IncludeDebuffs
Field Value
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
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
initiatorICharacterThe character initiating the action.
eventDataEventDataThe 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
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.