SpellApplyMindBlank

From NWN Lexicon
Jump to navigationJump to search


spellApplyMindBlank(object, int, float)

Removes negative mind effects and provides mind protection.

void spellApplyMindBlank(
    object oTarget,
    int nSpellId,
    float fDelay = 0.0
);

Parameters

oTarget

The creature to examine for effects.

nSpellId

SPELL_*

fDelay

How long to wait before applying the immunity. (Default: 0.0)


Description

Removes negative mind effects and provides mind protection.



Remarks

Removes the following negative mind effects and spells:
  - EFFECT_TYPE_CHARMED
  - EFFECT_TYPE_CONFUSED
  - EFFECT_TYPE_DAZED
  - EFFECT_TYPE_DOMINATED
  - EFFECT_TYPE_SLEEP
  - EFFECT_TYPE_STUNNED
  - SPELL_BANE
  - SPELL_FEEBLEMIND

Applies the IMMUNITY_TYPE_MIND_SPELLS effect.

The duration of the immunity takes into account the caster's level and if they have the extend spell feat.


Requirements

#include " x0_i0_spells "


Version

???

See Also

constants: 

SPELL_*



author: Mistress