RemoveStatusEffect

Declaration

public static void RemoveStatusEffect(StatusEffect statusEffect)

Parameters

Name
Type
Description

statusEffect

The StatusEffect reference that should be removed.

Description

Removes a StatusEffect from the StatusManager.


Declaration

public static void RemoveStatusEffect(StatusEffectData statusEffectData, int? stack = null)

Parameters

Name
Type
Description

statusEffectData

The StatusEffectData used by the StatusEffect that should be removed.

stack

int?

If an amount is given it will only remove that given number of the stack.

Description

Removes a StatusEffect from the StatusManager that contains the given StatusEffectData. If a stack count is given it will remove only the specified amount.


Declaration

public static void RemoveStatusEffect(ComparableName name, int? stack = null)

Parameters

Name
Type
Description

name

The ComparableName name of the StatusEffectData used by the StatusEffect that should be removed.

stack

int?

If an amount is given it will only remove that given number of the stack.

Description

Removes a StatusEffect from the StatusManager that contains the given ComparableName name.

Last updated