• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Feat bonus to BAB?

Kodi1124

Member
I would like to create a Feat that increases the BAB of a Character with the restriction that it doesn't raise above the HD of the Character. I am not very familiar with the editor or xml. Any help would be appreciated.
 
This is the authoring kit forum, which is intended for discussing game systems you've created yourself.

If this is for an existing game, tell me which, and I can move this to the correct forum. (Pathfinder and D20, and maybe 5e and M&M all use BAB, so I don't know which of those you're asking about).
 
And what calculation of the bonus to the BAB are you looking for? Bonus equal to character level? Perhaps a manual select...which doesn't make much sense but figured I ask anyways.
 
A feat which increases the BAB by +1, with a restriction that it may not raise the BAB above the character's total HD.
 
I believe a timing of Post-level 5000 should work for this.
So try this in your feat:

~ Add 1 to base attack bonus, which trickles down to the other attack bonus fields but won't if HD matches BAB.

doneif (hero.child[Attack].field[tAtkBase].value >= #totallevelcount[])
hero.child[Attack].field[tAtkBase].value = hero.child[Attack].field[tAtkBase].value + 1
 
Back
Top