SetBaseAttackBonus(int, object)

Sets the number of base attacks for the specified creature

void SetBaseAttackBonus(
    int nBaseAttackBonus,
    object oCreature = OBJECT_SELF
);

Parameters

nBaseAttackBonus

Attack bonus to set

oCreature

Creature to set the bonus on (Default: OBJECT_SELF)


Description

Sets the number of base attacks for the specified creatures. The range of values accepted are from 1 to 6

Note: This function does not work on Player Characters



Version

1.61

See Also

functions: EffectModifyAttacks | RestoreBaseAttackBonus
categories: Combat Functions


 author: Lilac Soul