doAura(int, int, int, int)

From NWN Lexicon
Jump to navigationJump to search
Note: This function page documents something only available in the x0_i0_spells include file. The function may not be accurately documented here but you can read the nwscript code for the function in the game files.

Used in the alignment aura spells.

void doAura(
    int nAlign,
    int nVis1,
    int nVis2,
    int nDamageType
);

Parameters

nAlign
ALIGNMENT_* (ALIGNMENT_ALL, ALIGNMENT_EVIL or ALIGNMENT_GOOD)
nVis1
The first visual effect to be applied.
nVis2
The second visual effect to be applied.
nDamageType
Damage type to have for the damage shield DAMAGE_TYPE_*


Description

Used in the alignment aura spells (unholy and holy).


Remarks

The duration takes into account if the calling object has the extend spell feat

Effects granted versus nAlign: +4 AC (Deflection) bonus, +4 saving throws, immunity to mind spells, +25 spell resistance, and 1d8+6 nDamageType damage shield.


Requirements

#include " x0_i0_spells "


Known Bugs

See VersusAlignmentEffect for the fact spell resistance is not per-alignment.

See Also

constants: 

DAMAGE_TYPE_*



author: Mistress