• 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

One feat or another

ynnswa

Active member
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.
 
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.
 
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.
 
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.
 
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?
 
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.
 
Back
Top