• 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

Pathfinder Feat Help

Kodi1124

Member
Hello everyone,

I am attempting to create a feat for Pathfinder and don't know anything about scripting. Please forgive my ignorance.

I want the Feat to increase the characters BAB by +1, but not allow it if the BAB would be more than the characters HD.

Any help would be very appreciated, thank you.
 
Sure, here is how I would approach it.

PostLevel 5000
Code:
~ Stop if this feat is disabled
doneif (tagis[Helper.FtDisable] <> 0)

~ Determine if we have at least 1 point between our base attack bonus and hit dice.
doneif (hero.childfound[Attack].field[tAtkBase].value - herofield[tHitDice].value >= 0)

~ Add one to our Base attack bonus
hero.childfound[Attack].field[tAtkBase].value += 1
 
Back
Top