Djinni Wiki

function EffectLinkEffects (effect eChildEffect, effect eParentEffect )

Link the two supplied effects, returning eChildEffect as a child of eParentEffect.

  • Note: When applying linked effects if the target is immune to all valid effects all other effects will be removed as well. This means that if you apply a visual effect and a silence effect (in a link) and the target is immune to the silence effect that the visual effect will get removed as well. Visual Effects are not considered "valid" effects for the purposes of determining if an effect will be removed or not and as such should never be packaged *only* with other visual effects in a link.

  • Return type: effect
  • Include file: nwscriptdefn