• 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

Secondary Bonus Feat

Think of a class that uses both primary and secondary bonus feats, like the Cavalier. Debug the tags on one of those feats and you'll see the tag that's marking it as being in the secondary bonus feats table for that class.
 
where to you debug? All I'm trying to do is add a bonus feat to secondary bonus feats via a class special ability. As it is part of a chosen ability and only available to that chosen ability. not to the class as a whole.
 
You said "the tag for a secondary bonus feat" - didn't you mean the tag that would be on those feats that marks them as that class' bonus feats?
 
To turn on data file debugging, choose Enable Data File Debugging from the Develop menu.

Then, on your test character, add a feat to that table, and right click it, and choose "Show Debug Tags for XXXXXX".
 
Ok, found debug and so on. However, could not find what I was looking for. I'm just trying to add a bonus secondary feat with the following script...

~Add to feats allowed
if (#levelcount[Brujo] >= 14) then
linkage
.field[cBonFtMax].value +=1
endif

However, I cannot find the field that gives it to the secondary bonus feats. the above [cBonFtMax] gives it to the primary. I need it on the secondary bonus feats but need the field for secondary feat.
 
Sorry, you said "tag" in your original post, so that confused me, because what you're looking for is a field. Busy morning so far.

To find that in the debug, add any class to a test character. In the Develop menu, choose Floating Info Windows...Show Selection Fields. Then, in that list, find the class you've added - you'll see several things with the name of the class - you'll find a number of them equal to the number of levels of that class that you've added, and those will all have an Id like "cFighter", or in this case, I'm guessing you'll see "cBrujo". The other one will have an Id like "cHelpFtr". That's the one you want to look at. Scroll through that list of fields until you find cBonFtMax. Then, look 6 entries down on the list to find the corresponding field for secondary bonus feats.
 
Thanks all. Got everything working perfectly. Sorry for the confusion on the field Mathias. Thanks AndrewD2 for the secondary feat field. Again, thanks, the debugging mode will be a huge help...

Donald
 
Back
Top