Junior Member
Join Date: Jul 2015
Location: California
Posts: 17
|
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. |
#1 |
Senior Member
Join Date: Oct 2011
Posts: 6,793
|
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 |
#2 |
Junior Member
Join Date: Jul 2015
Location: California
Posts: 17
|
I'll give that a try. Thanks.
|
#3 |
|
|