EffectACDecrease(int, int, int)

Creates an AC decrease effect.

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

Parameters

nValue

nModifyType

AC_* (Default: AC_DODGE_BONUS)

nDamageType

DAMAGE_TYPE_* (Default: AC_VS_DAMAGE_TYPE_ALL)


Description

Effect sets to remove the specified amount of bonus from an object. The type of AC removed is of nModifyType.



Remarks

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


Version

1.22

See Also

functions: ApplyEffectAtLocation | ApplyEffectToObject | EffectACIncrease | 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.