Member
Join Date: Jul 2010
Posts: 33
|
This cannot be as difficult as I'm making it.
Here is the Class Special Ability I'm trying to create: At 6th level, the nomad gains Diehard as a bonus feat. If he already has Diehard, he instead gains Toughness. My searches through the forum have turned up a couple things that are a bit similar, but I can't seem to adapt them successfully. I thought that perhaps the best route would be to bootstrap both feats to the Special and then handle selection in the bootstrap conditions, but I don't know enough about writing containerreq statements to know if/how it would work. Any thoughts would be appreciated. |
#1 |
Senior Member
Lone Wolf Staff
Join Date: May 2005
Posts: 13,213
|
The way I've done this in the past is to not worry about whether it's there or not - if it is, the user can delete the manually-added copy, and handle the replacement themself.
|
#2 |
Member
Join Date: Jul 2010
Posts: 33
|
I'd love to handle it that way and be done with it. Unfortunately, it's a special ability for three different classes, so in a multi-class situation there won't be a manual selection for the user to change.
|
#3 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
You could write an eval script that detects at an early phase and priority if either of those feats is present, if not then place a User.Whatever tag on the hero. Bootstrap the feats to the class ability with a condition that looks for that User tag before adding.
|
#4 |
Member
Join Date: Jul 2010
Posts: 33
|
That worked perfectly. Thank you!
|
#5 |
Member
Join Date: Jul 2010
Posts: 33
|
Okay, I spoke too soon. I put an eval script on the class itself to assign the tag, and used the condition on the bootstrap to test for it, and that all worked like a charm. I wasn't thinking about the bootstrap condition that I replaced, however, which was the level test.
If I'm using the bootstrap condition to test for my own tag, how do I then make the feat wait until 3rd level to add to the character? |
#6 |
Senior Member
Volunteer Data File Contributor
Join Date: Mar 2007
Posts: 1,245
|
Have the eval script that assigns the User tag count the number of Classes.? tags first. If there are 3 or more, then assign the User tag.
|
#7 |
|
|