EffectTurnResistanceDecrease(int)
Create a Turn Resistance Decrease effect that can make creatures more susceptible to turning.
effect EffectTurnResistanceDecrease( int nHitDice );
Parameters
nHitDice
a positive number representing the number of hit dice for the decrease
Description
Returns a new effect object that when applied to a target will decrease their resistance to turning as if they were nHitDice in lower levels.
This changes the value returned by GetTurnResistanceHD(), which is added to the creature's hide bonus to turn resistance, and is called in the turn undead script.
Remarks
Constructors are special methods that return a new instance of an object. In NWN Script each effect that you can place on an object has it’s own constructor that creates a new instance of the specified effect. This effect object can then be used in an ApplyEffectToObject() Command. See Effect Constructor for more details.
Version
1.22
See Also
functions: | EffectTurnResistanceIncrease | GetTurnResistanceHD |
categories: | Effects Functions | Spells Functions |
author: John Shuell, editor: Jasperre
Send comments on this topic.