GetBaseAttackBonus(object)
Retrieves the base attack bonus (BaB) for a specified creature.
int GetBaseAttackBonus( object oCreature );
Parameters
oCreature
Creature the retrieve the base attack bonus of.
Description
Retrieves the base attack bonus for a specified creature. Multiclass creatures' base attack bonuses are added together to retrieve the final result. Returns 0 if oCreature is not a valid creature.
Remarks
This function could conceivably be used to scale the difficulty of foes the PC encounters, or as a way to balance the game by giving PCs without a high attack bonus items which grant this.
Version
1.30
See Also
categories: | Get Data from Creature Functions |
author: Charles Feduke, editor: Lilac Soul
Send comments on this topic.