EffectACIncrease(int, int, int)

Gives an AC bonus to an object.

effect EffectACIncrease(
    int nValue,
    int nModifyType = AC_DODGE_BONUS,
    int nDamageType = AC_VS_DAMAGE_TYPE_ALL
);

Parameters

nValue

size of AC increase

nModifyType

AC_*_BONUS (Default: AC_DODGE_BONUS)

nDamageType

DAMAGE_TYPE_* (Default: AC_VS_DAMAGE_TYPE_ALL)


Description

Applies an additional AC bonus to object effect occurs on. The amount is specified, and the type of bonus (per AC_* constant list), and the specific damage AC is 'for'.



Remarks

Default value for nDamageType should only ever be used in this function prototype.


Version

1.22

See Also

functions: ApplyEffectToObject | EffectACDecrease | EffectAttackDecrease | EffectAttackIncrease
categories: Effects Functions | Spell Casting Effects Functions | Spells Functions | Talents/Skills/Feats Functions
constants: AC_* Constants | DAMAGE_TYPE_* Constants


 author: Jody Fletcher
 Send comments on this topic.