SpellApplyMindBlank

From NWN Lexicon


Contents

[edit] spellApplyMindBlank(object, int, float)

Removes negative mind effects and provides mind protection.

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

[edit] Parameters

oTarget

The creature to examine for effects.

nSpellId

SPELL_*

fDelay

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


[edit] Description

Removes negative mind effects and provides mind protection.



[edit] 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.


[edit] Requirements

#include " x0_i0_spells "


[edit] Version

???

[edit] See Also

constants: 

SPELL_*



author: Mistress

Personal tools
Categories