RemoveAnySpellEffects

From NWN Lexicon
Jump to navigationJump to search


RemoveAnySpellEffects(int, object)

Doesn't care who the caster was; removes the effects of the specified spell.

void RemoveAnySpellEffects(
    int nSpell_ID,
    object oTarget
);

Parameters

nSpell_ID

SPELL_*

oTarget

The object to investigate.


Description

Doesn't care who the caster was; removes the effects of the specified spell.

Ignores the subtype as well.



Remarks

Cycles through all the effects on oTarget and removes any that match nSpell_ID.


Requirements

#include " x0_i0_spells "


Version

???

See Also

functions: 

RemoveEffect

constants: 

SPELL_*



author: Mistress