Member
Join Date: Apr 2015
Posts: 63
|
As the subject indicates, I'm trying to figure out if there is a group ID for Tertiary Bonus Feats. I'm trying to fix the "Style Master" Talent for the Talented Monk in the Community Packages, and have been unable to do so, mostly because a lot of the follow-up feats in the style trees are not listed as "Style" feats. This is an issue with the actual Paizo source material, not a failing on Hero Lab's part, but it prevents simply setting the "Style Feats" as an option for Bonus Tertiary Feats. And that list is limited to 40 entries, but there are about 171 that qualify for this talent.
|
#1 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
There aren't "tertiary bonus feats" insofar as I can tell -- at least not directly. You'd need to make a tertiary custom ability that allows you to select a bonus feat.
I pulled this code from the Arcanist Exploit "Greater Metamagic Knowledge" which does essentially what you are looking to do. Code:
~ If we're disabled, just get out now doneif (tagis[Helper.SpcDisable] <> 0) linkage[table].field[cBonFtMax].value += 1 |
#2 |
Member
Join Date: Apr 2015
Posts: 63
|
I have a script for the Style Master Talent that is working, to a degree.
Code:
~ if we've been disabled, get out now & doneif (tagis[Helper.SpcDisable] <> 0) ~ Give a bonus Tertiary Feat linkage[table].field[cTBonFtMax].value += 1 I haven't yet figured out how to make it actually work the way the Master of Many Styles combat feats do, however, and the script on that archetype isn't much help. But since I'm going to be, mostly likely, having to extend all the feats that aren't marked as "Style" feats in the chains (Crane Wing, Crane Riposte to continue the example above) it occurs to me I can just extend them to the Style category by using group ID fCategory and tag ID Style. Still a lot of feats to extend, but that will address the issue of them not showing up. Now to just figure out how to get the "Base" Style feats to ignore pre-reqs except Elemental Fist and/or Race. Thanks for responding! |
#3 |
Senior Member
Join Date: Feb 2012
Posts: 546
|
Note that a lot of feats that are part of a "Style Feat Chain" are not actually style feats.
Example: Grabbing Style is a style feat -- but the Grabbing Drag feat is not a style feat, it is just a combat feat. |
#4 |
Member
Join Date: Apr 2015
Posts: 63
|
Yes, which is what I had listed as an issue with the Paizo material. But for the purposes of the Master of Many Styles, they are valid feats. Getting them as valid feats for this Talent that replicates that ability from MoMS... extending them as "style" feats seems the most reliable path. I could make a new feat category, possibly, and extend them into that instead, and use it for the talent. This particular aspect of the class is turning into a bit of a PITA.
|
#5 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
MoMs was specially implemented. I would recommend looking over the script logic of the MoMS archetype to see how LW did it.
I about guarantee you will have to play with the custom expression logic to get this to work correctly. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Here is the script logic from the archetype. Note this happens from an archetype meaning you can't use linkage[varies] if you are a class special or a custom ability.
Assuming you running from a custom ability you will need to use linkage[table] instead. Post-Level/10000 Code:
doneif (islinkage[varies] = 0) perform linkage[varies].delete[BonusFor.Monk1] perform linkage[varies].delete[BonusFor.Monk6] perform linkage[varies].delete[BonusFor.Monk10] perform linkage[varies].delete[BonusFor.Monk14] ~ We can only add style feats if we possess the previous ones in the ~ chain. Thus we can't grant them all without regard to all prereq (or ~ it'd be possible to skip to the end), and so we have to generate the ~ options for bonus feats here. ~ New and improved handling of the Master of Many Styles: ~ Previously, the Master of Many Styles was handled by a long list ~ of if statements that added fInclude tags if the character had a specific feat. ~ This was a big mess and hard to maintain and debug. ~ This new version uses tag to handle it in an automated way that should be ~ a lot less trouble to debug and maintain. ~ What it does is loop through the monk bonus feats on the character and pull the ~ fMoMSNext tags to the archetype as fInclude tags. It then pushes them to the ~ monk class to be used in the normal bonus feat tag experession mechanism. ~First, loop through our feats and pull the fMoMSNext tags here as fInclude feats foreach pick in hero from BaseFeat where "fMoMSNext.?" perform eachpick.pulltags[fMoMSNext.?,fInclude] nexteach ~ Push the tags for the unlocked feats to the linked class perform linkage[varies].pushtags[fInclude.?] ~ Some style feat chains break the normal rules for Master of Many Styles ~ Elemental fist, for example, is required before you can take Djinn Style, ~ Efreet Style, Marid Style, or Shaitan style. We handle that here. ~ This also applies to cases where all the feats in a chain are marked as ~ style feats, but Master of Many Styles still requires that the feats in ~ the chain be taken in order. For example, the Perfect Style feats from ~ Inner Sea Combat var tagexpr as string ~ Our search expression is built on feats we don't have, that have ~ fMoMSPrecl tags tagexpr = "!(" & hero.tagids[HasFeat.?, " | "] & ") & fMoMSPrecl.?" ~ Search for feats we don't have that unlock other feats foreach thing in BaseFeat where tagexpr ~Pull their tags here as fExclude tags perform eachthing.pulltags[fMoMSPrecl.?,fExclude] nexteach ~ Push the tags for the forbidden feats to the linked class perform linkage[varies].pushtags[fExclude.?] ~ If this hero has access to the Weapon Master's Handbook, then we need to ~ add some warning text to our bonus feats because: ~ "Class features that allow a character to ignore the prerequisites of ~ feats when selecting them (such as the master of many styles monk ~ archetype’s bonus feat ability) can’t ignore the racial trait ~ prerequisites of a racial style feat." linkage[varies].field[cBonFtTxt].text = "Racial Style feats cannot ignore the pre-reqs of racial traits." Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
#7 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
Quote:
Quote:
Quote:
Your making things sounds like the normal MoMS archetype is not working. Is that the case? Have you tested MoMS to see if it works or not? If the LW MoMS is working and your script is not then the issue is where you placed the tags and what Pick you are running on. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|||
#8 |
Member
Join Date: Apr 2015
Posts: 63
|
Quote:
That being said, however, I've copied the script back over to the ability and stripped it from the class. I think the previous issue was actually this bit of code: Code:
foreach pick in hero from BaseFeat where "fMoMSNext.?" perform eachpick.pulltags[fMoMSNext.?,fInclude] nexteach ~ Push the tags for the unlocked feats to the linked class perform linkage[varies].pushtags[fInclude.?] Code:
linkage[table].field[cBonFtTxt].text Quote:
Quote:
Quote:
Basically, after revisiting the code with linkage[table] and finding the issue I hadn't fixed in that version, this talent is actually now complete, and _not_ a script on the class. It does, however, require the Helper.TBonFtNoPr tag on the class to make the first feat in the style chains work. |
||||
#9 |
Senior Member
Volunteer Data File Contributor
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729
|
First I have to say it sounds like you made allot of progress actually which is awesome. Its hard for me to jump around between projects. So forgive me if my quick answers are not always helpful.
Quote:
My guess is that Empty Quiver child feats are missing this fMoMSNext.?. If this is true I can report this as a bug to LW to get fixed. Which in this case will fix the official issue and our issue. Hero Lab Resources: Pathfinder - d20pfsrd and Pathfinder Pack Setup 3.5 D&D (d20) - Community Server Setup 5E D&D - Community Server Setup Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources. Created by the community for the community - Realm Works kickstarter backer (Alpha Wolf) and Beta tester.- d20 HL package volunteer editor. |
|
#10 |
|
|