RemoveSpellEffects2(int, object, object, int, int)

Advanced version of RemoveSpellEffects to handle multiple spells.

void RemoveSpellEffects2(
    int nSpell_ID,
    object oCaster,
    object oTarget,
    int nSpell_ID2,            
    int nSpell_ID3
);

Parameters

nSpell_ID

SPELL_* The first spell to check for.

oCaster

The object that cast the spells you want to test for.

oTarget

The object to test for active spells.

nSpell_ID2

SPELL_* The second spell to check for.

nSpell_ID3

SPELL_* The third spell to check for.


Description

Advanced version of RemoveSpellEffects to handle multiple spells.



Remarks

Cycles through all the effects on oTarget that were cast by oCaster and removes any that match the three nSpell_IDs.


Requirements

#include "x0_i0_spells"


Version

???

See Also

functions:  RemoveSpellEffects
constants:  SPELL_*
categories:  Spells Functions


author: Mistress