EffectAttackIncrease(int, int)
Create an Attack Increase effect
effect EffectAttackIncrease( int nBonus, int nModifierType = ATTACK_BONUS_MISC );
Parameters
nBonus
The amount of the bonus to apply.
nModifierType
One of the three ATTACK_BONUS_* Constants defining which handed weapon receives the bonus. (Default: ATTACK_BONUS_MISC)
Description
Returns a new effect object that when applied to a creature, will increase their attack bonus in their main hand, off hand or both hands by a certain amount.
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: | EffectAbilityDecrease | EffectAbilityIncrease | EffectACDecrease | EffectACIncrease | EffectAttackDecrease | EffectDamageDecrease | EffectDamageIncrease | EffectLinkEffects |
categories: | Effects Functions |
constants: | ATTACK_BONUS_* Constants |
author: John Shuell
Send comments on this topic.