EffectCurse(int, int, int, int, int, int)
Create a Curse effect.
effect EffectCurse( int nStrMod = 1, int nDexMod = 1, int nConMod = 1, int nIntMod = 1, int nWisMod = 1, int nChaMod = 1 );
Parameters
nStrMod
strength modifier (Default: 1)
nDexMod
dexterity modifier (Default: 1)
nConMod
constitution modifier (Default: 1)
nIntMod
intelligence modifier (Default: 1)
nWisMod
wisdom modifier (Default: 1)
nChaMod
charisma modifier (Default: 1)
Description
Returns a new effect object that when applied to a target will reduce their ability scores by the amounts given in the parameters.
Remarks
Modifiers should be given in positive amounts, the script will apply them negatively.
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
categories: | Effects Functions |
author: John Shuell
Send comments on this topic.