• 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

Bonus feats that don't have to meet prereqs

Gauthok

Active member
I'm working on making Sohei Monk as a Gestalt Archetype on Oracle, and I am having trouble with the bonus feats. I was able to set saves, add flurry and AC bonus, etc, but while I can get the bonus feats to show up, I can't seem to find how to make them not need to meet the prereqs.

I'm just getting started with the editor, so mostly I'm doing the copy/paste/tweak thing to get my feet wet.

Thanks!
 
Actually, looks like I made another error in Weapon Training too.

I tried using the scripts I found in the Sohei archetype:


~ our secondary abilities table uses the fighter's primary abilities
linkage[varies].field[cCstS2Expr].text = "(SpecSource.cHelpFtr & !Helper.Secondary & !Helper.Tertiary & !Helper.Quaternary) & (thingid.cFtrWBows | thingid.cFtrWCrsb | thingid.cFtrWMonk | thingid.cFtrWPoleA | thingid.cFtrWSpear | thingid.cFtrWThrow)"


~build up a tag expression to identify all weapon training abilities for
~this class
var expr as string
expr = "wFtrGroup.? & CustTaken." & linkage[varies].idstring

~first, make sure we have any weapon training abilities for this class.
~If we don't, there's nothing to do here.
doneif (hero.haschild[BaseCustSp,expr] = 0)

~the best bonus available to all weapon training abilities is 1 at 5th level,
~+1 per 4 levels after that. If we don't have a bonus, we're done.
var bonus as number
bonus = linkage[varies].field[cGiveSp2nd].value
var tagbonus as number
doneif (bonus = 0)

~go through all of our weapon training abilities in ascending order,
~giving a decreasing bonus to each.
foreach pick in hero from BaseCustSp where expr

~set the bonus for this ability
eachpick.field[abValue].value += bonus + 1 - eachpick.field[xIndex].value

tagbonus = eachpick.field[abValue].value

~forward the weapon group tag we're assigned to the class a number of
~times equal to the bonus we're receiving
if (eachpick.field[abValue].value >= 1) then
var i as number
var wepexpr as string
var bonustag as string
wepexpr = eachpick.tagids[wFtrGroup.?," | "]
bonustag = eachpick.tagids[TrainBonus.?, ""]
foreach pick in hero from BaseWep where wepexpr
for i = 1 to tagbonus
perform eachpick.assignstr[bonustag]
next
perform eachpick.assign[Helper.ShowFlurry]
nexteach
endif

nexteach

Then I put Weapon Training as a Quintenary Ability at rows 5, 11, and 17. Weapon Training first shows up at level 6 as it should, but I get an error saying there is nothing to select. Do I need to change the tagging in the above to Tertiary, Quaternary, Quintenary?
 
I can't seem to find how to make them not need to meet the prereqs.
You need to add a script that will assign the "Helper.BonFtNoPre" to the class the archetype is attached too. Its actually easier than it sounds.

First/100
Code:
~ Make the class's bonus feats ignore prereqs
perform linkage[varies].assign[Helper.BonFtNoPre]

Just tried it out and it worked great. Just to add to make sure it's clear this script should be placed directly on the archetype.
 
Last edited:
Ok, I did that, but it removes prereqs on all feats in the list.

Since I'm working on a Sohei Gestalt archetype, that isn't quite right. I need some of the feats to only be available at certain levels, for instance, Medusa's Wrath shouldn't be a valid pick until 10th.

I tried to find the code in Monk that does this, and I'm still a bit confused. There are picks in bonus feats for Monk 1, Monk 6, etc.

I also took another look at Weapon Training, and I'm still not sure what's wrong with it. It shows up at the right levels, but there's nothing to choose. I tried re-assigning it to a Quaternary ability, since Quintenary wasn't mentioned in the code, but that's a no go.
 
Back
Top