Table of Contents

Method LinkEffects

Namespace
Anvil.API
Assembly
NWN.Anvil.dll

LinkEffects(Effect, params Effect[])

Creates a new linked effect from the specified effects.
If you remove/dispel one of the effects from a target which is linked to others, the other linked effects will be removed/dispelled too.

public static Effect LinkEffects(Effect baseEffect, params Effect[] effects)

Parameters

baseEffect Effect

The base effect.

effects Effect[]

The effects to link.

Returns

Effect

The new composite effect linking both effects.

LinkEffects(Effect, IEnumerable<Effect>)

Creates a new linked effect from the specified effects.
If you remove/dispel one of the effects from a target which is linked to others, the other linked effects will be removed/dispelled too.

public static Effect LinkEffects(Effect baseEffect, IEnumerable<Effect> effects)

Parameters

baseEffect Effect

The base effect.

effects IEnumerable<Effect>

The effects to link.

Returns

Effect

The new composite effect linking both effects.