RemoveSpellEffects

From NWN Lexicon
Jump to navigationJump to search



RemoveSpellEffects(int, object, object)

Removes the effects of a spell cast on a creature.

void RemoveSpellEffects(
    int nSpellID,
    object oCaster,
    object oTarget
);

Parameters

nSpellID

The spell whose effects are to be removed. SPELL_*

oCaster

The caster of the spell.

oTarget

The target of the spell who has the effects that are going to be removed.


Description

RemoveSpellEffects searchs through the effects on oTarget and removes those effects that were caused by the spell nSpell_ID and cast by oCaster.



Remarks

nw_i0_spells.nss: 21


Requirements

#include " nw_i0_spells "

Version

1.22

See Also

functions: 

RemoveSpellEffects2



 author: Tom Cassiotis, editors: Mistress, Kolyana