Method LinkEffects
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
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
baseEffectEffectThe base effect.
effectsIEnumerable<Effect>The effects to link.
Returns
- Effect
The new composite effect linking both effects.