Senior Member
Join Date: Jul 2010
Posts: 149
|
As part of a design project I'm working on, we've developed a new type of feat. Part of the rules baggage for feats of this category is that there are a few specific classes that can take these feats as additional options for their bonus feats. I had hoped that by marking the appropriate classes in the "Bonus Feat For..." section of each feat, it would add each feat individually to those classes' bonus feat options, but it doesn't seem to be working. Is there a way to do what I want to do?
|
#1 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
You either need to assign the fInclude.? tag for each feat to the class or add a Custom.? tag to each feat modify the feat expression to include that tag, both will be done with a mechanic.
|
#2 |
Senior Member
Join Date: Jul 2010
Posts: 149
|
Holy crap! Mechanics are awesome. I never knew about these. Thanks!
Code for those interested: FIRST/450 Code:
foreach pick in hero from Class where "sClass.cHelpXXX" perform eachpick.assign[fCategory.XXX] nexteach |
#3 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
I would use BaseClHelp for the component part of that statement, also if you're just doing one or two classes and its only a few feats, I'd use the hero.childfound[] instead of the foreach as it will probably use less processing power.
|
#4 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
No, don't replace Class with BaseClHelp. BaseClHelp was only left in for backwards comparability when it was replaced with "Class".
|
#5 |
Senior Member
Join Date: Mar 2007
Location: Muskegon, MI
Posts: 2,975
|
Ah OK good to know.
|
#6 |
|
|