Table of Contents

Method ApplyEffect

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

ApplyEffect(EffectDuration, Effect, TimeSpan)

Applies the specified effect to this game object.

public void ApplyEffect(EffectDuration durationType, Effect effect, TimeSpan duration = default)

Parameters

durationType EffectDuration

The duration type to apply with this effect.

effect Effect

The effect to apply.

duration TimeSpan

If duration type is Temporary, the duration of this effect.