EffectModifyAttacks(int)
Create a Modify Attacks effect that adds attacks to the target.
effect EffectModifyAttacks( int nAttacks );
Parameters
nAttacks
maximum is 5, even with the effect stacked
Description
Returns a new effect object that when applied to a target will add attacks.
Returns an effect of type EFFECT_TYPE_INVALIDEFFECT if nAttacks > 5.
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
categories: | Combat Actions Functions | Effects Functions |
constants: | EFFECT_TYPE_* Constants |
author: John Shuell
Send comments on this topic.