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:  GetEffectSpellId | RemoveEffect
constants:  SPELL_*
categories:  Spells Functions


author: Mistress