CreateProtectionFromAlignmentLink(int, int)

Creates a protection from alignment effect.

effect CreateProtectionFromAlignmentLink(
    int nAlignment,
    int nPower = 1
);

Parameters

nAlignment

Alignment to protect from (ALIGNMENT_*)

nPower

Multiplier (level) of the protection. (Default: 1)


Description

Creates a linked effect and plays visual animations for protection from a specific alignment. nPower multiplies the amount of protection at a rate of +3 deflection bonus to AC and +2 bonus to saving throws against the specified nAlignment (thus a nPower value of 3 would result in +9 deflection bonus to AC and +6 bonus to saving throws). Also renders the applicant of the effect immunity to all mind effecting spells cast of that alignment.



Requirements

#include "nw_i0_spells"

Version

1.29

See Also

categories: Spell Casting Effects Functions | Spells Functions
constants: ALIGNMENT_* Constants


 author: Charles Feduke