EffectDamageIncrease(int, int)
Create a Damage Increase effect.
effect EffectDamageIncrease( int nBonus, int nDamageType = DAMAGE_TYPE_MAGICAL );
Parameters
nBonus
The amount of extra damage to do as defined in the DAMAGE_BONUS_* constants group.
nDamageType
The type of damage that will be increased as defined by the DAMAGE_TYPE_* constants group. (Default: DAMAGE_TYPE_MAGICAL)
Description
Returns a new effect object that when applied to the target, will increase the amount of damage they do of the type specified in nDamageType by nBonus 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: | EffectAttackDecrease | EffectAttackIncrease | EffectDamageDecrease |
categories: | Effects Functions |
constants: | DAMAGE_BONUS_* Constants | DAMAGE_TYPE_* Constants |
author: John Shuell
Send comments on this topic.