MyResistSpell

From NWN Lexicon
Jump to: navigation, search



MyResistSpell(object, object, float)

Determines and plays animation for resisting a spell when applicable.

int MyResistSpell(
    object oCaster,
    object oTarget,
    float fDelay = 0.0f
);

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)


Description

Creates appropriate visual effects for spell resistance due to SR, globes, or mantles and returns same value as ResistSpell.



Remarks

See ResistSpell for more information.


Requirements

#include " nw_i0_spells "

Version

1.29

See Also

functions: 

ResistSpell



 author: Charles Feduke, editor: Jasperre