DoAura

From NWN Lexicon
Jump to navigationJump to search


doAura(int, int, int, int)

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 visual effect to be applied.

nVis2

The visual effect to be applied.

nDamageType

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 "


Version

???

See Also

constants: 

DAMAGE_TYPE_*



author: Mistress