MyResistSpell
From NWN Lexicon
Contents |
[edit] MyResistSpell(object, object, float)
Determines and plays animation for resisting a spell when applicable.
int MyResistSpell( object oCaster, object oTarget, float fDelay = 0.0f );
[edit] Parameters
oCaster
Caster of a spell.
oTarget
Target of a spell.
fDelay
Delay until visual effect is played (if greater than 0.5, becomes lessened by 0.1). (Default: 0.0f)
[edit] Description
Creates appropriate visual effects for spell resistance due to SR, globes, or mantles and returns same value as ResistSpell.
[edit] Remarks
See ResistSpell for more information.
[edit] Requirements
#include " nw_i0_spells "
[edit] Version
1.29
[edit] See Also
functions: |
author: Charles Feduke, editor: Jasperre