DAMAGE BONUS *

The DAMAGE_BONUS_* constants are used in NWScript to indicate an amount of damage for certain effects. The main motivation for these constants is to allow the specification of variable damage, as when giving someone the ability to inflict an extra die of damage.

For the smaller fixed bonuses (specifically +1 to +5), the amount of the bonus can be used instead of the constant (although this is poor style), but not so for the higher fixed bonuses (for example, 16, not 6, is the value of the constant that indicates a +6 bonus). Thus, it is important to use these symbolic constants when they are called for. (They can be used interchangeably with the IP_CONST_DAMAGEBONUS_* constants, though, provided no custom content is used, but doing so is not the best practice for writing robust scripts.)