CreateProtectionFromAlignmentLink

From NWN Lexicon



Contents

[edit] CreateProtectionFromAlignmentLink(int, int)

Creates a protection from alignment effect.

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

[edit] Parameters

nAlignment

Alignment to protect from (ALIGNMENT_*)

nPower

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


[edit] 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.



[edit] Requirements

#include " nw_i0_spells "

[edit] Version

1.29

[edit] See Also

constants: 

ALIGNMENT_* Constants



 author: Charles Feduke
 

Personal tools
Categories