From NWN Lexicon
Jump to navigationJump to search
Nwnee logo.jpg Note: This article documents Neverwinter Nights: Enhanced Edition new content or changes/updates/fixes to 1.69 functions. These are all listed under the category and patches pages.

Set the subtype of eEffect to Unyielding and return eEffect.

effect UnyieldingEffect(
    effect eEffect


The input effect to return an unyielding version of.


Set the subtype of eEffect to Unyielding and return eEffect.

Unyielding effects are not removed by resting, death or dispel magic, only by RemoveEffect().

Note: effects that modify state, Stunned/Knockdown/Deaf etc, WILL be removed on death.


Effects default to magical if the subtype is not set.

Additionally while this allows persistence during death, it will not bypass effects not applying to dead creatures (which is reasonably common across effects in general) so negative effects of dying - for instance - should be applied when a creature is raised from the dead not while they are dead.

Effect Type overview:

Effect Type Duration Type Dispellable Removed by Resting Removed by Dying
Magical Any
Extraordinary Any
Supernatural Temporary
Supernatural Permanent
Unyielding Any


This function was added in 1.86.8193.35 of NWN:EE.


Information icon.png This article is in need of examples. You can help the NWN Lexicon by showing how to use this code effectively.

See Also


ExtraordinaryEffect() IgnoreEffectImmunity() SupernaturalEffect()


SUBTYPE_* Constants

 author: Shadguy, additional contributor(s): Cjreek